aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pitt <martin@piware.de>2017-08-07 21:09:21 +0200
committerMartin Pitt <martin@piware.de>2017-08-10 08:43:13 +0200
commit818567fce693519eda9d7550a9ae21a7fc974b3c (patch)
tree3f25bf3ad0dff743160b64719a0ae47681b1ff89 /test/TEST-15-DROPIN
parenttest: Write state and log files into $BUILD_DIR (diff)
downloadsystemd-818567fce693519eda9d7550a9ae21a7fc974b3c.tar.gz
systemd-818567fce693519eda9d7550a9ae21a7fc974b3c.tar.bz2
systemd-818567fce693519eda9d7550a9ae21a7fc974b3c.zip
test: Run qemu/nspawn tests with "set -e"
This catches errors like "ninja not found", missing programs etc. early, instead of silently ignoring them and trying to boot a broken VM. In install_config_files(), allow some distro specific files to be absent (such as /etc/sysconfig/init).
Diffstat (limited to 'test/TEST-15-DROPIN')
-rwxr-xr-xtest/TEST-15-DROPIN/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/TEST-15-DROPIN/test.sh b/test/TEST-15-DROPIN/test.sh
index 536b379f6..b85bffafa 100755
--- a/test/TEST-15-DROPIN/test.sh
+++ b/test/TEST-15-DROPIN/test.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
-
+set -e
TEST_DESCRIPTION="Dropin tests"
TEST_NO_QEMU=1