mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 03:56:01 +01:00
shellcheck fix: tests/functional/output-normalization.sh
This commit is contained in:
parent
32818483a5
commit
c09cf33a3a
2 changed files with 1 additions and 2 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/output-normalization\.sh$''
|
|
||||||
''^tests/functional/parallel\.builder\.sh$''
|
''^tests/functional/parallel\.builder\.sh$''
|
||||||
''^tests/functional/parallel\.sh$''
|
''^tests/functional/parallel\.sh$''
|
||||||
''^tests/functional/pass-as-file\.sh$''
|
''^tests/functional/pass-as-file\.sh$''
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ testNormalization () {
|
||||||
TODO_NixOS
|
TODO_NixOS
|
||||||
clearStore
|
clearStore
|
||||||
outPath=$(nix-build ./simple.nix --no-out-link)
|
outPath=$(nix-build ./simple.nix --no-out-link)
|
||||||
test "$(stat -c %Y $outPath)" -eq 1
|
test "$(stat -c %Y "$outPath")" -eq 1
|
||||||
}
|
}
|
||||||
|
|
||||||
testNormalization
|
testNormalization
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue