mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +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;
|
||||
excludes = [
|
||||
# We haven't linted these files yet
|
||||
''^tests/functional/output-normalization\.sh$''
|
||||
''^tests/functional/parallel\.builder\.sh$''
|
||||
''^tests/functional/parallel\.sh$''
|
||||
''^tests/functional/pass-as-file\.sh$''
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ testNormalization () {
|
|||
TODO_NixOS
|
||||
clearStore
|
||||
outPath=$(nix-build ./simple.nix --no-out-link)
|
||||
test "$(stat -c %Y $outPath)" -eq 1
|
||||
test "$(stat -c %Y "$outPath")" -eq 1
|
||||
}
|
||||
|
||||
testNormalization
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue