]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: save journals of only failing test cases in TEST-64
authorFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 22 Sep 2021 09:24:48 +0000 (11:24 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 29 Sep 2021 08:05:21 +0000 (10:05 +0200)
test/TEST-64-UDEV-STORAGE/test.sh

index c2db838b177140486da0fbb5e7625cc1ffc43598..a7138d3704d0250e18f64f43991b17892deb5db3 100755 (executable)
@@ -11,6 +11,8 @@ set -e
 TEST_DESCRIPTION="systemd-udev storage tests"
 IMAGE_NAME="default"
 TEST_NO_NSPAWN=1
+# Save only journals of failing test cases by default (to conserve space)
+TEST_SAVE_JOURNAL="${TEST_SAVE_JOURNAL:-fail}"
 QEMU_TIMEOUT="${QEMU_TIMEOUT:-600}"
 
 # shellcheck source=test/test-functions