diff --git a/.github/workflows/e2e_ci.yml b/.github/workflows/e2e_ci.yml index e90e29b465c..d42bee1fbf2 100644 --- a/.github/workflows/e2e_ci.yml +++ b/.github/workflows/e2e_ci.yml @@ -31,7 +31,7 @@ jobs: - name: Install deps ⛓️ run: | sudo apt update - sudo apt install -y --no-install-recommends ca-certificates cmake build-essential git pkg-config autoconf automake libelf-dev libcap-dev clang-14 llvm-14 libtool quota + sudo apt install -y --no-install-recommends ca-certificates cmake build-essential git pkg-config autoconf automake libelf-dev libcap-dev clang-14 llvm-14 libtool quota e2fsprogs sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-14 90 sudo update-alternatives --install /usr/bin/llvm-strip llvm-strip /usr/bin/llvm-strip-14 90 sudo update-alternatives --install /usr/bin/llc llc /usr/bin/llc-14 90 diff --git a/test/libsinsp_e2e/sys_call_test.cpp b/test/libsinsp_e2e/sys_call_test.cpp index bfd5ee56358..9d5c6a9bf01 100644 --- a/test/libsinsp_e2e/sys_call_test.cpp +++ b/test/libsinsp_e2e/sys_call_test.cpp @@ -796,7 +796,11 @@ 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" + "rm -v /tmp/testquotactl ; \n" "dd if=/dev/zero of=/tmp/testquotactl bs=1M count=200 &&\n" + "ls /tmp/ ; \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"