forked from lix-project/lix
Merge pull request #9288 from edolstra/fix-nar-access-test
Fix nar-access test on macOS
This commit is contained in:
commit
e9a857e418
|
@ -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