diff options
Diffstat (limited to 'tests/guix-home.sh')
-rw-r--r-- | tests/guix-home.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/guix-home.sh b/tests/guix-home.sh index 83ca6e72c8..3151f66683 100644 --- a/tests/guix-home.sh +++ b/tests/guix-home.sh @@ -84,8 +84,9 @@ trap 'chmod -Rf +w "$test_directory"; rm -rf "$test_directory"' EXIT home-environment-variables-service-type `(("TODAY" . "26 messidor") ("SHELL" . ,(file-append bash "/bin/bash")) - ("BUILDHOSTTIME" . ,#~(strftime "%c" - (localtime (current-time)))) + ("BUILDHOST_TIME" . ,#~(strftime "%c" + (localtime (current-time)))) + ("STRING_WITH_ESCAPES" . "chars: \" /\\") ("LITERAL" . ,(literal-string "${abc}")))) (simple-service 'home-bash-service-extension-test @@ -157,6 +158,8 @@ EOF ( . "${HOME}/.guix-home/setup-environment"; test "$TODAY" = "26 messidor" ) ( . "${HOME}/.guix-home/setup-environment"; test "$LITERAL" = '${abc}' ) ( . "${HOME}/.guix-home/setup-environment"; + test "$STRING_WITH_ESCAPES" = "chars: \" /\\") + ( . "${HOME}/.guix-home/setup-environment"; echo "$SHELL" | grep "/gnu/store/.*/bin/bash" ) # This one should still be here. |