mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-15 02:36:16 +02:00
Fix test on macOS
This commit is contained in:
parent
7a765a6aaf
commit
21dcbd7e83
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ expectStderr 1 nix-store "${opts[@]}" --restore "$TEST_ROOT/case" < case-collisi
|
||||||
# to the same name should fail on macOS but succeed on Linux.
|
# to the same name should fail on macOS but succeed on Linux.
|
||||||
rm -rf "$TEST_ROOT/out"
|
rm -rf "$TEST_ROOT/out"
|
||||||
if [[ $(uname) = Darwin ]]; then
|
if [[ $(uname) = Darwin ]]; then
|
||||||
expectStderr 1 nix-store --restore "$TEST_ROOT/out" < unnormalized.nar | grepQuiet "cannot create directory.*File exists"
|
expectStderr 1 nix-store --restore "$TEST_ROOT/out" < unnormalized.nar | grepQuiet "path '.*/out/â' already exists"
|
||||||
else
|
else
|
||||||
nix-store --restore "$TEST_ROOT/out" < unnormalized.nar
|
nix-store --restore "$TEST_ROOT/out" < unnormalized.nar
|
||||||
[[ -e $TEST_ROOT/out/â ]]
|
[[ -e $TEST_ROOT/out/â ]]
|
||||||
|
|
Loading…
Reference in a new issue