mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
shellcheck fix: tests/functional/toString-path.sh
This commit is contained in:
parent
b349783830
commit
799cd62ec8
2 changed files with 2 additions and 3 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/toString-path\.sh$''
|
|
||||||
''^tests/functional/user-envs-migration\.sh$''
|
''^tests/functional/user-envs-migration\.sh$''
|
||||||
''^tests/functional/user-envs-test-case\.sh$''
|
''^tests/functional/user-envs-test-case\.sh$''
|
||||||
''^tests/functional/user-envs\.builder\.sh$''
|
''^tests/functional/user-envs\.builder\.sh$''
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
source common.sh
|
source common.sh
|
||||||
|
|
||||||
mkdir -p $TEST_ROOT/foo
|
mkdir -p "$TEST_ROOT"/foo
|
||||||
echo bla > $TEST_ROOT/foo/bar
|
echo bla > "$TEST_ROOT"/foo/bar
|
||||||
|
|
||||||
[[ $(nix eval --raw --impure --expr "builtins.readFile (builtins.toString (builtins.fetchTree { type = \"path\"; path = \"$TEST_ROOT/foo\"; } + \"/bar\"))") = bla ]]
|
[[ $(nix eval --raw --impure --expr "builtins.readFile (builtins.toString (builtins.fetchTree { type = \"path\"; path = \"$TEST_ROOT/foo\"; } + \"/bar\"))") = bla ]]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue