mirror of
https://github.com/NixOS/nix
synced 2025-06-25 02:21:16 +02:00
parent
612fc76020
commit
cc9fe4dee7
13 changed files with 102 additions and 106 deletions
|
@ -2,10 +2,10 @@
|
|||
|
||||
source common.sh
|
||||
|
||||
echo foo > $TEST_ROOT/hello.sh
|
||||
echo foo > "$TEST_ROOT"/hello.sh
|
||||
|
||||
ssh_localhost=ssh://localhost
|
||||
remote_store=?remote-store=$ssh_localhost
|
||||
remote_store="?remote-store=$ssh_localhost"
|
||||
|
||||
store=$ssh_localhost
|
||||
|
||||
|
@ -13,6 +13,6 @@ store+=$remote_store
|
|||
store+=$remote_store
|
||||
store+=$remote_store
|
||||
|
||||
out=$(nix store add-path --store "$store" $TEST_ROOT/hello.sh)
|
||||
out=$(nix store add-path --store "$store" "$TEST_ROOT"/hello.sh)
|
||||
|
||||
[ foo = $(< $out) ]
|
||||
[ foo = "$(< "$out")" ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue