nix-super/tests/ca
Sergei Trofimovich 6ada496311 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')
2022-04-21 10:06:39 +02:00
..
build-dry.sh Fix nix build --dry-run with CA derivations 2022-03-17 11:55:19 +01:00
build-with-garbage-path.sh Non-blocking garbage collector 2021-10-13 12:12:44 +02:00
build.sh tests/common.sh.in: Add enableFeatures helper 2022-03-02 21:48:25 +01:00
common.sh tests/common.sh.in: Add enableFeatures helper 2022-03-02 21:48:25 +01:00
concurrent-builds.sh Allow running all the tests with the daemon 2021-07-27 17:06:11 +02:00
config.nix.in Add a test for nix run with CA derivations 2021-05-17 15:10:48 +02:00
content-addressed.nix Fix handling of outputHash when outputHashAlgo is not specified 2022-04-01 12:40:49 +02:00
duplicate-realisation-in-closure.sh tests/common.sh.in: Add enableFeatures helper 2022-03-02 21:48:25 +01:00
flake.nix Add a test for nix run with CA derivations 2021-05-17 15:10:48 +02:00
gc.sh Allow running all the tests with the daemon 2021-07-27 17:06:11 +02:00
import-derivation.sh Fix IFD with CA derivations 2021-12-21 09:36:50 +01:00
nix-copy.sh tests/common.sh.in: Add enableFeatures helper 2022-03-02 21:48:25 +01:00
nix-run.sh tests/common.sh.in: Add enableFeatures helper 2022-03-02 21:48:25 +01:00
nix-shell.sh tests/common.sh.in: Add enableFeatures helper 2022-03-02 21:48:25 +01:00
nondeterministic.nix Add a test for the “two glibc” issue 2021-06-23 11:18:31 +02:00
post-hook.sh tests/common.sh.in: Add enableFeatures helper 2022-03-02 21:48:25 +01:00
racy.nix Properly lock the builds of CA derivations 2021-07-20 06:57:56 +02:00
recursive.sh tests/common.sh.in: Add enableFeatures helper 2022-03-02 21:48:25 +01:00
repl.sh Fix nix repl’s building of CA derivations 2021-11-05 11:04:14 +01:00
selfref-gc.sh nix: add (failing) selfreference test for multiple realizations 2022-04-21 10:06:39 +02:00
signatures.sh tests/common.sh.in: Add enableFeatures helper 2022-03-02 21:48:25 +01:00
substitute.sh Allow running all the tests with the daemon 2021-07-27 17:06:11 +02:00