mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
shellcheck fix: tests/functional/remote-store.sh
This commit is contained in:
parent
7ed4011990
commit
06f21e101f
1 changed files with 5 additions and 5 deletions
|
|
@ -7,10 +7,10 @@ TODO_NixOS
|
||||||
clearStore
|
clearStore
|
||||||
|
|
||||||
# Ensure "fake ssh" remote store works just as legacy fake ssh would.
|
# Ensure "fake ssh" remote store works just as legacy fake ssh would.
|
||||||
nix --store ssh-ng://localhost?remote-store=$TEST_ROOT/other-store doctor
|
nix --store ssh-ng://localhost?remote-store="$TEST_ROOT"/other-store doctor
|
||||||
|
|
||||||
# Ensure that store info trusted works with ssh-ng://
|
# Ensure that store info trusted works with ssh-ng://
|
||||||
nix --store ssh-ng://localhost?remote-store=$TEST_ROOT/other-store store info --json | jq -e '.trusted'
|
nix --store ssh-ng://localhost?remote-store="$TEST_ROOT"/other-store store info --json | jq -e '.trusted'
|
||||||
|
|
||||||
startDaemon
|
startDaemon
|
||||||
|
|
||||||
|
|
@ -31,8 +31,8 @@ NIX_REMOTE_=$NIX_REMOTE $SHELL ./user-envs-test-case.sh
|
||||||
|
|
||||||
nix-store --gc --max-freed 1K
|
nix-store --gc --max-freed 1K
|
||||||
|
|
||||||
nix-store --dump-db > $TEST_ROOT/d1
|
nix-store --dump-db > "$TEST_ROOT"/d1
|
||||||
NIX_REMOTE= nix-store --dump-db > $TEST_ROOT/d2
|
NIX_REMOTE='' nix-store --dump-db > "$TEST_ROOT"/d2
|
||||||
cmp $TEST_ROOT/d1 $TEST_ROOT/d2
|
cmp "$TEST_ROOT"/d1 "$TEST_ROOT"/d2
|
||||||
|
|
||||||
killDaemon
|
killDaemon
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue