Merge pull request #9288 from edolstra/fix-nar-access-test

Fix nar-access test on macOS
This commit is contained in:
Eelco Dolstra 2023-11-03 11:39:48 +01:00 committed by GitHub
commit e9a857e418
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 \