summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhillip Sz <phillip.szelat@gmail.com>2016-02-05 11:38:58 +0100
committerPhillip Sz <phillip.szelat@gmail.com>2016-02-05 11:38:58 +0100
commite3ceb75be3cab5d700c7a1c65356cc9d4151a912 (patch)
tree18530466ab377bdd8abe2ef3d068f549c62e4aa4
parent784b22eef5005309a43400e9ab43d37281b1290c (diff)
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.
-rwxr-xr-xtest/TEST-03-JOBS/test-jobs.sh1
-rwxr-xr-xtest/TEST-04-JOURNAL/test-journal.sh1
-rwxr-xr-xtest/TEST-05-RLIMITS/test-rlimits.sh1
-rwxr-xr-xtest/TEST-06-SELINUX/test-selinux-checks.sh1
4 files changed, 0 insertions, 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