mirror of
https://github.com/NixOS/nix
synced 2024-10-18 00:16:11 -04:00
tests/functional/nars.sh: Fail test if touch fails, comment
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
parent
f8268cbe16
commit
011fa9e085
|
@ -103,10 +103,11 @@ rm -rf "$TEST_ROOT/out"
|
|||
set +e
|
||||
unicodeTestOut=$(nix-store --restore "$TEST_ROOT/out" < unnormalized.nar 2>&1)
|
||||
unicodeTestCode=$?
|
||||
touch "$TEST_ROOT/unicode-â"
|
||||
touch "$TEST_ROOT/unicode-â"
|
||||
set -e
|
||||
|
||||
touch "$TEST_ROOT/unicode-â" # non-canonical version
|
||||
touch "$TEST_ROOT/unicode-â"
|
||||
|
||||
touchFilesCount=$(find "$TEST_ROOT" -maxdepth 1 -name "unicode-*" -type f | wc -l)
|
||||
|
||||
if (( unicodeTestCode == 1 )); then
|
||||
|
|
Loading…
Reference in a new issue