aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-11-26 20:12:15 +0100
committerEelco Dolstra <edolstra@gmail.com>2019-11-26 20:12:15 +0100
commitc13193017fdcb910627698e343c2df4183d91f8f (patch)
tree9f2d87cbc214490f1d7e3c15912e8f863de3176a /tests
parent89db9353d7cc5aaf360c48d17aeb0e9ddd940451 (diff)
Disallow empty store path names
Fixes #3239.
Diffstat (limited to 'tests')
-rw-r--r--tests/referrers.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/referrers.sh b/tests/referrers.sh
index 8ab8e5ddf..614dd8f5b 100644
--- a/tests/referrers.sh
+++ b/tests/referrers.sh
@@ -4,9 +4,9 @@ clearStore
max=500
-reference=$NIX_STORE_DIR/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+reference=$NIX_STORE_DIR/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-bla
touch $reference
-(echo $reference && echo && echo 0) | nix-store --register-validity
+(echo $reference && echo && echo 0) | nix-store --register-validity
echo "making registration..."