]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
test: log executing /assertion.sh
authorBenjamin Drung <benjamin.drung@canonical.com>
Wed, 4 Feb 2026 14:27:07 +0000 (15:27 +0100)
committerLaszlo <laszlo.gombos@gmail.com>
Wed, 4 Feb 2026 14:38:07 +0000 (09:38 -0500)
To ease debugging print a log message in case `/assertion.sh` is
executed in the client rootfs.

test/modules.d/70test-root/test-init.sh

index 8c17e6362e21b755a4d3019f21ba8d7b8931b16a..d04c9ddb4e69538a2f12eeb1ca6184bde8c431a8 100755 (executable)
@@ -45,6 +45,7 @@ fi
 
 # run the test case specific test assertion if exists
 if [ -x "/assertion.sh" ]; then
+    echo "executing /assertion.sh"
     /assertion.sh
 fi