From b5840de3528f77b317cde0257622394e3f447a60 Mon Sep 17 00:00:00 2001 From: sha7khan Date: Sun, 5 Dec 2021 08:58:02 +0530 Subject: [PATCH] set expected_capabilities=40 when running GHA --- tests/004-test-privileged.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/004-test-privileged.sh b/tests/004-test-privileged.sh index d79f13e..3eda055 100755 --- a/tests/004-test-privileged.sh +++ b/tests/004-test-privileged.sh @@ -41,7 +41,7 @@ test_privileged_nomad_job() { # depending on the execution environment. expected_capabilities="37" if [[ "$GITHUB_ACTIONS" == "true" ]]; then - expected_capabilities="39" + expected_capabilities="40" fi actual_capabilities=$(nomad alloc exec -job privileged capsh --print|grep -i bounding|cut -d '=' -f 2|awk '{split($0,a,","); print a[length(a)]}')