From 0c36fe6c8cb4af5558c3a6a75240ef3b01510084 Mon Sep 17 00:00:00 2001 From: Ben Radford Date: Thu, 18 May 2023 14:36:24 +0100 Subject: [PATCH] Update test to match new error message. --- tests/read-only-store.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/read-only-store.sh b/tests/read-only-store.sh index 72d855d42..408ffa63f 100644 --- a/tests/read-only-store.sh +++ b/tests/read-only-store.sh @@ -12,7 +12,7 @@ happy () { ## Testing read-only mode without forcing the underlying store to actually be read-only # Make sure the command fails when the store doesn't already have a database -expectStderr 1 nix-store --store local?read-only=true --add dummy | grepQuiet "unable to create database while in read-only mode" +expectStderr 1 nix-store --store local?read-only=true --add dummy | grepQuiet "database does not exist, and cannot be created in read-only mode" # Make sure the store actually has a current-database, with at least one store object dummyPath=$(nix-store --add dummy)