mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
Fix nar-access test on macOS
This commit is contained in:
parent
d26c317b14
commit
e5908212e2
1 changed files with 1 additions and 2 deletions
|
@ -27,9 +27,8 @@ diff -u baz.cat-nar $storePath/foo/baz
|
|||
|
||||
# Check that 'nix store cat' fails on invalid store paths.
|
||||
invalidPath="$(dirname $storePath)/99999999999999999999999999999999-foo"
|
||||
mv $storePath $invalidPath
|
||||
cp -r $storePath $invalidPath
|
||||
expect 1 nix store cat $invalidPath/foo/baz
|
||||
mv $invalidPath $storePath
|
||||
|
||||
# Test --json.
|
||||
diff -u \
|
||||
|
|
Loading…
Reference in a new issue