From 78e9bb837c258ac0ec7712b3d612cc2f407e731e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 05:50:42 +0200 Subject: Merging upstream version 256. Signed-off-by: Daniel Baumann --- test/TEST-03-JOBS/TEST-03-JOBS.units/succeeds-on-restart.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 test/TEST-03-JOBS/TEST-03-JOBS.units/succeeds-on-restart.sh (limited to 'test/TEST-03-JOBS/TEST-03-JOBS.units/succeeds-on-restart.sh') diff --git a/test/TEST-03-JOBS/TEST-03-JOBS.units/succeeds-on-restart.sh b/test/TEST-03-JOBS/TEST-03-JOBS.units/succeeds-on-restart.sh new file mode 100755 index 0000000..1428b18 --- /dev/null +++ b/test/TEST-03-JOBS/TEST-03-JOBS.units/succeeds-on-restart.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash +# SPDX-License-Identifier: LGPL-2.1-or-later +if [[ ! -f "/succeeds-on-restart.ko" ]] +then + touch "/succeeds-on-restart.ko" + exit 1 +else + rm "/succeeds-on-restart.ko" + exit 0 +fi -- cgit v1.2.3