summaryrefslogtreecommitdiff
path: root/test/TEST-69-SHUTDOWN
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2022-01-31 17:11:06 +0100
committerFrantisek Sumsal <frantisek@sumsal.cz>2022-01-31 17:47:01 +0100
commit1f450a680f6058dfc94498820701be727d594b95 (patch)
tree293c64b5f1d98492fdcba54ba492403ded879c23 /test/TEST-69-SHUTDOWN
parentdb357e9a89a302649afa3b6dcaefdb158c0a9169 (diff)
downloadsystemd-1f450a680f6058dfc94498820701be727d594b95.tar.gz
test: use ~/.bashrc instead of /etc/bash.bashrc
/etc/bash.bashrc appears to be Debian-specific[0] (or specific to bash versions compiled with -DSYS_BASHRC), which doesn't seem to be the case for C8S. Let's use ~/.bashrc instead to make the CIs happy again. [0] https://sources.debian.org/src/bash/5.1-6/debian/README/#L50-L56
Diffstat (limited to 'test/TEST-69-SHUTDOWN')
-rwxr-xr-xtest/TEST-69-SHUTDOWN/test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/TEST-69-SHUTDOWN/test.sh b/test/TEST-69-SHUTDOWN/test.sh
index 7bd285d65b..dd7b8998b5 100755
--- a/test/TEST-69-SHUTDOWN/test.sh
+++ b/test/TEST-69-SHUTDOWN/test.sh
@@ -26,9 +26,9 @@ test_append_files() {
# prevent shutdown in test suite, the expect script does that manually.
rm "${workspace:?}/usr/lib/systemd/tests/testdata/units/end.service"
inst /usr/bin/screen
- echo "PS1='screen\$WINDOW # '" >"$workspace/etc/bash.bashrc"
+ echo "PS1='screen\$WINDOW # '" >>"$workspace/root/.bashrc"
echo 'startup_message off' >"$workspace/etc/screenrc"
- echo 'bell_msg ""' >>"$1/etc/screenrc"
+ echo 'bell_msg ""' >>"$workspace/etc/screenrc"
}
do_test "$@"