From 9290af763a7eb93e1967d540c7505c4514b2c546 Mon Sep 17 00:00:00 2001 From: Dylan Green <67574902+cidkidnix@users.noreply.github.com> Date: Wed, 17 May 2023 14:52:13 -0500 Subject: [PATCH] Update tests/read-only-store.sh Co-authored-by: John Ericson --- tests/read-only-store.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/read-only-store.sh b/tests/read-only-store.sh index 20ded9634..b440fe356 100644 --- a/tests/read-only-store.sh +++ b/tests/read-only-store.sh @@ -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