mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
Merge pull request #9288 from edolstra/fix-nar-access-test
Fix nar-access test on macOS
This commit is contained in:
commit
e9a857e418
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.
|
# Check that 'nix store cat' fails on invalid store paths.
|
||||||
invalidPath="$(dirname $storePath)/99999999999999999999999999999999-foo"
|
invalidPath="$(dirname $storePath)/99999999999999999999999999999999-foo"
|
||||||
mv $storePath $invalidPath
|
cp -r $storePath $invalidPath
|
||||||
expect 1 nix store cat $invalidPath/foo/baz
|
expect 1 nix store cat $invalidPath/foo/baz
|
||||||
mv $invalidPath $storePath
|
|
||||||
|
|
||||||
# Test --json.
|
# Test --json.
|
||||||
diff -u \
|
diff -u \
|
||||||
|
|
Loading…
Reference in a new issue