diff --git a/test/libsinsp_e2e/sys_call_test.cpp b/test/libsinsp_e2e/sys_call_test.cpp index bfd5ee56358..5dcfac11f5f 100644 --- a/test/libsinsp_e2e/sys_call_test.cpp +++ b/test/libsinsp_e2e/sys_call_test.cpp @@ -796,7 +796,9 @@ TEST_F(sys_call_test, quotactl_ok) ret = system("rm -rf /tmp/testquotactl /tmp/testquotamnt"); // Setup a tmpdisk to test quotas char command[] = + "ls /tmp/ ; \n" "dd if=/dev/zero of=/tmp/testquotactl bs=1M count=200 &&\n" + "mount &&\n" "echo y | mkfs.ext4 -q /tmp/testquotactl &&\n" "mkdir -p /tmp/testquotamnt &&\n" "mount -o usrquota,grpquota,loop=/dev/loop0 /tmp/testquotactl /tmp/testquotamnt &&\n"