summaryrefslogtreecommitdiffstats
path: root/test/units/testsuite-22.15.sh
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-05-11 19:17:13 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-05-14 12:43:28 +0200
commit7a321b5a21f7ad4ed526ac5a40ea0fabeb2e2ba5 (patch)
tree9464b421b4486e0af21b49706467a1f8053eda8f /test/units/testsuite-22.15.sh
parenttest: Rework integration test definitions (diff)
downloadsystemd-7a321b5a21f7ad4ed526ac5a40ea0fabeb2e2ba5.tar.xz
systemd-7a321b5a21f7ad4ed526ac5a40ea0fabeb2e2ba5.zip
test: Rename testsuite-XX units to match test name
Having these named differently than the test itself mostly creates unecessary confusion and makes writing logic against the tests harder so let's rename the testsuite-xx units and scripts to just use the test name itself.
Diffstat (limited to 'test/units/testsuite-22.15.sh')
-rwxr-xr-xtest/units/testsuite-22.15.sh44
1 files changed, 0 insertions, 44 deletions
diff --git a/test/units/testsuite-22.15.sh b/test/units/testsuite-22.15.sh
deleted file mode 100755
index 6ee0e63791..0000000000
--- a/test/units/testsuite-22.15.sh
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/bash
-# SPDX-License-Identifier: LGPL-2.1-or-later
-#
-# Check specifier expansion in L lines.
-#
-set -eux
-
-rm -fr /tmp/L
-mkdir /tmp/L
-
-# Check that %h expands to $home.
-home='/somewhere'
-dst='/tmp/L/1'
-src="$home"
-HOME="$home" \
-systemd-tmpfiles --dry-run --create - <<EOF
-L $dst - - - - %h
-EOF
-test ! -h "$dst"
-
-HOME="$home" \
-systemd-tmpfiles --create - <<EOF
-L $dst - - - - %h
-EOF
-test "$(readlink "$dst")" = "$src"
-
-# Check that %h in the path is expanded, but
-# the result of this expansion is not expanded once again.
-root='/tmp/L/2'
-home='/%U'
-src="/usr/share/factory$home"
-mkdir -p "$root$src"
-dst="$root$home"
-HOME="$home" \
-systemd-tmpfiles --create --dry-run --root="$root" - <<EOF
-L %h - - - -
-EOF
-test ! -h "$dst"
-
-HOME="$home" \
-systemd-tmpfiles --create --root="$root" - <<EOF
-L %h - - - -
-EOF
-test "$(readlink "$dst")" = "$src"