]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
test: manual test runs now test make install cleaninstall as well
authorJo Zzsi <jozzsicsataban@gmail.com>
Sun, 3 Nov 2024 23:17:50 +0000 (18:17 -0500)
committerLaszlo <laszlo.gombos@gmail.com>
Mon, 4 Nov 2024 00:15:23 +0000 (19:15 -0500)
test/test.sh

index cc23fd78bfdf27bf8735b173ff35e1c295581545..2c2fceda1770fb9be4c31c8ab8658a8156d1c8e3 100755 (executable)
@@ -9,6 +9,7 @@ export CONTAINER="${CONTAINER:=$1}"
 export CONTAINER="${CONTAINER:=fedora}"
 export TESTS="${TESTS:=$2}"
 export TEST_RUN_ID="${TEST_RUN_ID:=id}"
+export DRACUT=dracut
 
 if command -v podman &> /dev/null; then
     PODMAN=podman
@@ -17,9 +18,9 @@ else
 fi
 
 # clear previous test run
-TARGETS='clean all check' "$PODMAN" run --rm -it \
+TARGETS='clean all install cleaninstall check' "$PODMAN" run --rm -it \
     --device=/dev/kvm \
-    -e V -e TESTS -e TEST_RUN_ID -e TARGETS \
+    -e V -e TESTS -e TEST_RUN_ID -e TARGETS -e DRACUT \
     -v "$PWD"/:/z \
     "ghcr.io/dracut-ng/$CONTAINER" \
     /z/test/test-github.sh