projects
/
platform
/
upstream
/
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
4252a9a
..
0c7d443
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
3a05619
..
6646ecc
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
54000ec
..
ba665c5
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
08d2ddf
..
153fab3
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