From e3ceb75be3cab5d700c7a1c65356cc9d4151a912 Mon Sep 17 00:00:00 2001 From: Phillip Sz Date: Fri, 5 Feb 2016 11:38:58 +0100 Subject: [PATCH] test: remove exit 0 at the end We don't need that at the end, as it will always exit with 0 if everything is okey. --- test/TEST-03-JOBS/test-jobs.sh | 1 - test/TEST-04-JOURNAL/test-journal.sh | 1 - test/TEST-05-RLIMITS/test-rlimits.sh | 1 - test/TEST-06-SELINUX/test-selinux-checks.sh | 1 - 4 files changed, 4 deletions(-) diff --git a/test/TEST-03-JOBS/test-jobs.sh b/test/TEST-03-JOBS/test-jobs.sh index 4252a9a75d..0c7d4439a2 100755 --- a/test/TEST-03-JOBS/test-jobs.sh +++ b/test/TEST-03-JOBS/test-jobs.sh @@ -50,4 +50,3 @@ systemctl stop --job-mode=replace-irreversibly unstoppable.service || exit 1 systemctl start unstoppable.service || exit 1 touch /testok -exit 0 diff --git a/test/TEST-04-JOURNAL/test-journal.sh b/test/TEST-04-JOURNAL/test-journal.sh index 3a05619ad5..6646eccfa7 100755 --- a/test/TEST-04-JOURNAL/test-journal.sh +++ b/test/TEST-04-JOURNAL/test-journal.sh @@ -60,4 +60,3 @@ systemctl stop forever-print-hola [[ ! -f "/i-lose-my-logs" ]] touch /testok -exit 0 diff --git a/test/TEST-05-RLIMITS/test-rlimits.sh b/test/TEST-05-RLIMITS/test-rlimits.sh index 54000ecefb..ba665c5968 100755 --- a/test/TEST-05-RLIMITS/test-rlimits.sh +++ b/test/TEST-05-RLIMITS/test-rlimits.sh @@ -14,4 +14,3 @@ set -o pipefail [[ "$(ulimit -n -H)" = "16384" ]] touch /testok -exit 0 diff --git a/test/TEST-06-SELINUX/test-selinux-checks.sh b/test/TEST-06-SELINUX/test-selinux-checks.sh index 08d2ddf4f0..153fab3aac 100755 --- a/test/TEST-06-SELINUX/test-selinux-checks.sh +++ b/test/TEST-06-SELINUX/test-selinux-checks.sh @@ -10,4 +10,3 @@ runcon -t systemd_test_reload_t systemctl reload hola runcon -t systemd_test_stop_t systemctl stop hola touch /testok -exit 0