aboutsummaryrefslogtreecommitdiff
path: root/tests/local.mk
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2021-10-04 09:00:01 +0100
committerThéophane Hufschmitt <theophane.hufschmitt@tweag.io>2022-04-21 10:06:39 +0200
commit6ada4963111908211a4bbcc2ae65f4205cffaa18 (patch)
tree76433d99dd6cd07a3aa9951bdedf98dacad6bf51 /tests/local.mk
parent9345b4e9ca1b14071b471851508b37edfc2d1248 (diff)
nix: add (failing) selfreference test for multiple realizations
The test illustrates failure in issue #5320. Here derivation and it's built input have identical CA sotre path. As a result we generate extraneout reference to build input: $ make installcheck ... ran test tests/selfref-gc.sh... [PASS] ran test tests/ca/selfref-gc.sh... [FAIL] ... deleting '/tmp/.../tests/ca/selfref-gc/store/iqciq1mpg5hc7p6a52fp2bjxbyc9av0v-selfref-gc' deleting '/tmp/...tests/ca/selfref-gc/store/zh0kwpnirw3qbv6dl1ckr1y0kd5aw6ax-selfref-gc.drv' error: executing SQLite statement 'delete from ValidPaths where path = '/tmp/.../tests/ca/selfref-gc/store/fsjq0k146r85lsh01l0icl30rnhv7z72-selfref-gc';': constraint failed (in '/tmp/.../tests/ca/selfref-gc/var/nix/db/db.sqlite')
Diffstat (limited to 'tests/local.mk')
-rw-r--r--tests/local.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/local.mk b/tests/local.mk
index cb869f32e..e3c4ff4eb 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -92,6 +92,7 @@ nix_tests = \
plugins.sh \
build.sh \
ca/nix-run.sh \
+ selfref-gc.sh ca/selfref-gc.sh \
db-migration.sh \
bash-profile.sh \
pass-as-file.sh \