nixos/tests/fish: test nixos-env-preinit.fish (#476081)
This commit is contained in:
@@ -24,6 +24,10 @@
|
||||
machine.succeed(
|
||||
"fish -ic 'echo $fish_complete_path' | grep -q '/share/fish/vendor_completions.d /etc/fish/generated_completions /root/.cache/fish/generated_completions$'"
|
||||
)
|
||||
machine.wait_for_file("/etc/fish/nixos-env-preinit.fish")
|
||||
machine.succeed(
|
||||
"env -u __NIXOS_SET_ENVIRONMENT_DONE fish -lc 'set -q __NIXOS_SET_ENVIRONMENT_DONE'"
|
||||
)
|
||||
machine.wait_for_file("/etc/fish/config.fish")
|
||||
config = machine.succeed("fish_indent -c /etc/fish/config.fish")
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user