mirror of
https://github.com/NixOS/nix.git
synced 2025-12-14 21:11:04 +01: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…
Add table
Add a link
Reference in a new issue