]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
ci: enable controlling TEST_FSTYPE as part of container test run
authorJo Zzsi <jozzsicsataban@gmail.com>
Sat, 13 Sep 2025 23:55:28 +0000 (19:55 -0400)
committerLaszlo <laszlo.gombos@gmail.com>
Sun, 14 Sep 2025 01:28:53 +0000 (21:28 -0400)
Pass TEST_FSTYPE to the test container and document a more complex
test run using TEST_FSTYPE.

doc_site/modules/ROOT/pages/developer/hacking.adoc
test/test.sh

index d3b06408d2193966a4910ff71bdacb7505b28aef..09d14f819bad829d5ee08cdf0080478a20ce2a45 100644 (file)
@@ -137,6 +137,13 @@ Run test in extra verbose mode (enabled for debug logging):: {empty}
 $ V=2 test/test.sh
 ----
 
+Run test 20 with `btrfs` omitting `systemd` dracut module on `debian` :: {empty}
++
+[,console]
+----
+$ TESTS="20" TEST_FSTYPE=btrfs TEST_DRACUT_ARGS="--omit systemd" test/test.sh debian
+----
+
 === On bare metal
 
 For the testsuite to pass, you will have to install at least the software packages
index fcd6211c2b4f56c38293c31a5f6ab0132ec21914..044050bfc1db8752924d8faaed671281af65b15d 100755 (executable)
@@ -49,7 +49,7 @@ fi
 # clear previous test run
 TARGETS='clean all install check' "$PODMAN" run --rm -it \
     --device=/dev/kvm --privileged \
-    -e V -e TESTS -e TEST_RUN_ID -e TARGETS -e MAKEFLAGS -e TEST_DRACUT_ARGS \
+    -e V -e TESTS -e TEST_RUN_ID -e TARGETS -e MAKEFLAGS -e TEST_DRACUT_ARGS -e TEST_FSTYPE \
     -v "$PWD"/:/z \
     "$CONTAINER" \
     /z/test/test-container.sh