From 55016b6fcda70836df0320a84a7d5fd348b4c02f Mon Sep 17 00:00:00 2001 From: John Ericson Date: Mon, 1 Mar 2021 00:15:05 +0000 Subject: 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. --- tests/ca/new-build-cmd.sh | 5 +++++ tests/ca/recursive.sh | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 tests/ca/new-build-cmd.sh (limited to 'tests/ca') 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 - - -- cgit v1.2.3