]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: don't send image building output to /dev/null (#8886)
authorLennart Poettering <lennart@poettering.net>
Thu, 3 May 2018 13:47:42 +0000 (15:47 +0200)
committerEvgeny Vereshchagin <evvers@ya.ru>
Thu, 3 May 2018 13:47:42 +0000 (16:47 +0300)
Yes, the output is sometimes annyoing, but /dev/null is not the right
place...

I figure this redirection was left in from some debugging session, let's
fix it, and make the setup_basic_environment invocation like in all
other test scripts.

test/TEST-15-DROPIN/test.sh
test/TEST-22-TMPFILES/test.sh

index b85bffafafb7c2882cdfad6e649a535d4b538112..cc0d56da8a38ffbbff494f602dba69d2023fd492 100755 (executable)
@@ -9,7 +9,7 @@ TEST_NO_QEMU=1
 
 test_setup() {
         # create the basic filesystem layout
-        setup_basic_environment >/dev/null
+        setup_basic_environment
 
         # mask some services that we do not want to run in these tests
         ln -s /dev/null $initdir/etc/systemd/system/systemd-hwdb-update.service
index ca789333807cc49d7d4d321c2d64f0889224c757..5b8abbfff5e22ba85974ef2a1a525ed3b39b0fb7 100755 (executable)
@@ -9,7 +9,7 @@ TEST_NO_QEMU=1
 
 test_setup() {
     # create the basic filesystem layout
-    setup_basic_environment >/dev/null
+    setup_basic_environment
     inst_binary mv
     inst_binary stat
     inst_binary seq