mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-27 14:03:43 +03:00
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
This commit is contained in:
parent
db357e9a89
commit
1f450a680f
@ -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 "$@"
|
||||
|
Loading…
x
Reference in New Issue
Block a user