mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
shellcheck fix: tests/functional/path-info.sh
This commit is contained in:
parent
112c9d8f54
commit
c82aa04a3d
2 changed files with 6 additions and 7 deletions
|
|
@ -106,7 +106,6 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
excludes = [
|
excludes = [
|
||||||
# We haven't linted these files yet
|
# We haven't linted these files yet
|
||||||
''^tests/functional/path-info\.sh$''
|
|
||||||
''^tests/functional/placeholders\.sh$''
|
''^tests/functional/placeholders\.sh$''
|
||||||
''^tests/functional/post-hook\.sh$''
|
''^tests/functional/post-hook\.sh$''
|
||||||
''^tests/functional/pure-eval\.sh$''
|
''^tests/functional/pure-eval\.sh$''
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,14 @@
|
||||||
|
|
||||||
source common.sh
|
source common.sh
|
||||||
|
|
||||||
echo foo > $TEST_ROOT/foo
|
echo foo > "$TEST_ROOT"/foo
|
||||||
foo=$(nix store add-file $TEST_ROOT/foo)
|
foo=$(nix store add-file "$TEST_ROOT"/foo)
|
||||||
|
|
||||||
echo bar > $TEST_ROOT/bar
|
echo bar > "$TEST_ROOT"/bar
|
||||||
bar=$(nix store add-file $TEST_ROOT/bar)
|
bar=$(nix store add-file "$TEST_ROOT"/bar)
|
||||||
|
|
||||||
echo baz > $TEST_ROOT/baz
|
echo baz > "$TEST_ROOT"/baz
|
||||||
baz=$(nix store add-file $TEST_ROOT/baz)
|
baz=$(nix store add-file "$TEST_ROOT"/baz)
|
||||||
nix-store --delete "$baz"
|
nix-store --delete "$baz"
|
||||||
|
|
||||||
diff --unified --color=always \
|
diff --unified --color=always \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue