summaryrefslogtreecommitdiff
path: root/test/TEST-51-ISSUE-16115
diff options
context:
space:
mode:
authorAnita Zhang <the.anitazha@gmail.com>2020-06-10 01:18:00 -0700
committerLennart Poettering <lennart@poettering.net>2020-06-10 17:12:55 +0200
commitbb9244781c6fc7608f7cac910269f8987b8adc01 (patch)
tree2630b820bf9736e62c07a76cf231b2bd1c828925 /test/TEST-51-ISSUE-16115
parent6a881daf85b18798ca11ee3340b6585f65ffef1b (diff)
downloadsystemd-bb9244781c6fc7608f7cac910269f8987b8adc01.tar.gz
core: don't consider SERVICE_SKIP_CONDITION for abnormal or failure restarts
Fixes: #16115
Diffstat (limited to 'test/TEST-51-ISSUE-16115')
l---------test/TEST-51-ISSUE-16115/Makefile1
-rwxr-xr-xtest/TEST-51-ISSUE-16115/test.sh6
2 files changed, 7 insertions, 0 deletions
diff --git a/test/TEST-51-ISSUE-16115/Makefile b/test/TEST-51-ISSUE-16115/Makefile
new file mode 120000
index 0000000000..e9f93b1104
--- /dev/null
+++ b/test/TEST-51-ISSUE-16115/Makefile
@@ -0,0 +1 @@
+../TEST-01-BASIC/Makefile \ No newline at end of file
diff --git a/test/TEST-51-ISSUE-16115/test.sh b/test/TEST-51-ISSUE-16115/test.sh
new file mode 100755
index 0000000000..eca235c0a6
--- /dev/null
+++ b/test/TEST-51-ISSUE-16115/test.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+set -e
+TEST_DESCRIPTION="Test ExecCondition= does not restart on abnormal or failure"
+. $TEST_BASE_DIR/test-functions
+
+do_test "$@" 51