mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-27 00:06:16 +02:00
Update tests/read-only-store.sh
Co-authored-by: John Ericson <git@JohnEricson.me>
This commit is contained in:
parent
85a2453052
commit
9290af763a
1 changed files with 3 additions and 1 deletions
|
@ -16,7 +16,9 @@ expectStderr 1 nix-store --store local?read-only=true --add eval.nix | grepQuiet
|
|||
# Make sure we can get an already-present store-path in the database
|
||||
nix-store --store local?read-only=true --add dummy
|
||||
|
||||
## Ensure store is actually read-only
|
||||
## Testing read-only mode with an underlying store that is actually read-only
|
||||
|
||||
# Ensure store is actually read-only
|
||||
chmod -R -w $TEST_ROOT/store
|
||||
chmod -R -w $TEST_ROOT/var
|
||||
|
||||
|
|
Loading…
Reference in a new issue