]> git.ipfire.org Git - thirdparty/systemd.git/blob - test/units/testsuite-37.sh
Merge pull request #18701 from bugaevc/mdns-unicast
[thirdparty/systemd.git] / test / units / testsuite-37.sh
1 #!/usr/bin/env bash
2 # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
3 # ex: ts=8 sw=4 sts=4 et filetype=sh
4 set -ex
5 set -o pipefail
6
7 systemd-mount -p RuntimeDirectory=hoge -p RuntimeDirectoryPreserve=yes -t tmpfs tmpfs /tmp/aaa
8
9 touch /run/hoge/foo
10 touch /tmp/aaa/bbb
11
12 systemctl restart tmp-aaa.mount
13
14 test -e /run/hoge/foo
15 test ! -e /tmp/aaa/bbb
16
17 echo OK >/testok
18
19 exit 0