diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2021-03-01 00:15:05 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2023-02-10 18:04:13 -0500 |
commit | 55016b6fcda70836df0320a84a7d5fd348b4c02f (patch) | |
tree | b66a9f8e828124a004710a7a34e1a2d1c3780960 /tests/ca | |
parent | c18456604601dd233be4ad2462474488ef8f87e3 (diff) |
Test `nix build --json` return output paths in floating CA case
Adding a test to ensure there is no regression.
The tests that are split out of `tests/build.sh` are ones that don't yet
work with CA derivation. I have not yet evaluated whether they should or
not.
This behavior, reported missing in issue #4661, already got fixed in
PR #4818, but didn't get a test case then.
Diffstat (limited to 'tests/ca')
-rw-r--r-- | tests/ca/new-build-cmd.sh | 5 | ||||
-rwxr-xr-x | tests/ca/recursive.sh | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/ca/new-build-cmd.sh b/tests/ca/new-build-cmd.sh new file mode 100644 index 000000000..432d4d132 --- /dev/null +++ b/tests/ca/new-build-cmd.sh @@ -0,0 +1,5 @@ +source common.sh + +export NIX_TESTS_CA_BY_DEFAULT=1 +cd .. +source ./build.sh diff --git a/tests/ca/recursive.sh b/tests/ca/recursive.sh index 0354d23b4..cd6736b24 100755 --- a/tests/ca/recursive.sh +++ b/tests/ca/recursive.sh @@ -7,5 +7,3 @@ requireDaemonNewerThan "2.4pre20210623" export NIX_TESTS_CA_BY_DEFAULT=1 cd .. source ./recursive.sh - - |