Chores for v257 (#35525)

This commit is contained in:
Luca Boccassi
2024-12-10 19:21:43 +00:00
committed by GitHub
13 changed files with 1110 additions and 141 deletions
+1
View File
@@ -10,6 +10,7 @@ set -o pipefail
# See TEST-07-PID1/test.sh for the first "half" of the test
mountpoint /issue2730
export TEST_SKIP_SUBTESTS="private-pids"
run_subtests
touch /testok
+1
View File
@@ -13,6 +13,7 @@ fi
# shellcheck source=test/units/test-control.sh
. "$(dirname "$0")"/test-control.sh
export TEST_SKIP_SUBTESTS="nspawn machined"
run_subtests
touch /testok
+21
View File
@@ -91,6 +91,13 @@ run_subtests_with_signals() {
continue
fi
for skip in ${TEST_SKIP_SUBTESTS:-}; do
if [[ "$subtest" =~ $skip ]]; then
echo "Skipping $subtest (matching '$skip')"
continue 2
fi
done
: "--- $subtest BEGIN ---"
SECONDS=0
"./$subtest" &
@@ -123,6 +130,13 @@ run_subtests() {
continue
fi
for skip in ${TEST_SKIP_SUBTESTS:-}; do
if [[ "$subtest" =~ $skip ]]; then
echo "Skipping $subtest (matching '$skip')"
continue 2
fi
done
: "--- $subtest BEGIN ---"
SECONDS=0
if ! "./$subtest"; then
@@ -155,6 +169,13 @@ run_testcases() {
continue
fi
for skip in ${TEST_SKIP_TESTCASES:-}; do
if [[ "$testcase" =~ $skip ]]; then
echo "Skipping $testcase (matching '$skip')"
continue 2
fi
done
: "+++ $testcase BEGIN +++"
# Note: the subshell here is used purposefully, otherwise we might
# unexpectedly inherit a RETURN trap handler from the called