Skip to content

Commit

Permalink
wip: check arm64 quotactl_ok error on ci
Browse files Browse the repository at this point in the history
Signed-off-by: Roberto Scolaro <[email protected]>
  • Loading branch information
therealbobo committed Feb 7, 2024
1 parent cbcd621 commit e94cba5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/e2e_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions test/libsinsp_e2e/sys_call_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e94cba5

Please sign in to comment.