mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-15 02:36:16 +02: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
1 changed files with 3 additions and 2 deletions
|
@ -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