projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
784b22e
)
test: remove exit 0 at the end
author
Phillip Sz
<phillip.szelat@gmail.com>
Fri, 5 Feb 2016 10:38:58 +0000
(11:38 +0100)
committer
Phillip Sz
<phillip.szelat@gmail.com>
Fri, 5 Feb 2016 10:38:58 +0000
(11:38 +0100)
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
patch
|
blob
|
history
test/TEST-04-JOURNAL/test-journal.sh
patch
|
blob
|
history
test/TEST-05-RLIMITS/test-rlimits.sh
patch
|
blob
|
history
test/TEST-06-SELINUX/test-selinux-checks.sh
patch
|
blob
|
history
diff --git
a/test/TEST-03-JOBS/test-jobs.sh
b/test/TEST-03-JOBS/test-jobs.sh
index 4252a9a75d2d815cc19b3e17f624ffb2929593dc..0c7d4439a202f2862db63dd74f657ee4e308d26d 100755
(executable)
--- 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 3a05619ad5cbe42dc72a04f7b27e169bcd6e5fad..6646eccfa7e51faf0dd99113e53a04c6618e7918 100755
(executable)
--- 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 54000ecefb9110589e56e8fe7d637e4183044965..ba665c59689eca47fc6bfc3421320403e0220f70 100755
(executable)
--- 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 08d2ddf4f029ebf6056a940543a0ee7f971ed68d..153fab3aacb0a2ecd8c1dc4a9dfc1e23227cfdee 100755
(executable)
--- 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