mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-27 19:35:10 -06:00
tests: Really test the etc-bashrc-d-service-type service.
Follow-up of: 4c017ccfe5.
The --init-file script will only be run in the context of an interactive
shell, which is not the case here. Use the `-i` argument instead to force an
interactive shell. That way, the test_bashrc_d.sh is now really executed.
* gnu/tests/base.scm (run-basic-test): Fix the etc-bashrc-d-service-type test.
Change-Id: I3d749f65f51ff103c76f4e3d60746ae963660329
This commit is contained in:
parent
92ea9e69ac
commit
f3a8db842d
1 changed files with 1 additions and 2 deletions
|
|
@ -181,8 +181,7 @@ test \"$PROFILE_D_OK\" = yes")
|
|||
(test-assert "/etc/bashrc.d is sourced"
|
||||
(zero? (marionette-eval
|
||||
'(system* "bash"
|
||||
;; Ensure Bash runs interactively.
|
||||
"--init-file"
|
||||
"-i" ;run interactively
|
||||
#$(plain-file "test_bashrc_d.sh"
|
||||
"\
|
||||
. /etc/bashrc
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue