mirror of
https://github.com/systemd/systemd.git
synced 2024-10-27 18:55:40 +03:00
test: merge TEST-09-ISSUE-2691 into TEST-07-PID1
This commit is contained in:
parent
cd62ba42a4
commit
4966a31ba3
@ -1 +0,0 @@
|
||||
../TEST-01-BASIC/Makefile
|
@ -1,11 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
set -e
|
||||
|
||||
TEST_DESCRIPTION="https://github.com/systemd/systemd/issues/2691"
|
||||
TEST_NO_NSPAWN=1
|
||||
|
||||
# shellcheck source=test/test-functions
|
||||
. "${TEST_BASE_DIR:?}/test-functions"
|
||||
|
||||
do_test "$@"
|
@ -3,6 +3,10 @@
|
||||
Description=TEST-07-ISSUE-1981
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStartPre=rm -f /failed /testok
|
||||
ExecStart=/usr/lib/systemd/tests/testdata/units/%N.sh
|
||||
Type=oneshot
|
||||
# Issue: https://github.com/systemd/systemd/issues/2691
|
||||
ExecStop=sh -c 'kill -SEGV $$$$'
|
||||
RemainAfterExit=yes
|
||||
TimeoutStopSec=270s
|
||||
|
@ -1,11 +0,0 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
[Unit]
|
||||
Description=TEST-09-ISSUE-2691
|
||||
|
||||
[Service]
|
||||
ExecStartPre=rm -f /failed /testok
|
||||
ExecStart=sh -c '>/testok'
|
||||
ExecStop=sh -c 'kill -SEGV $$$$'
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
TimeoutStopSec=270s
|
Loading…
Reference in New Issue
Block a user