summaryrefslogtreecommitdiffstats
path: root/test/testsuite-03.units/succeeds-on-restart.sh
blob: 1428b186e5aae1cc75905d92ecaff617f79a9a2a (plain)
1
2
3
4
5
6
7
8
9
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