From 45bcbf683d600e75b00aab4f4e8f015224ab1a9a Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Sun, 27 Sep 2020 12:43:12 +0200 Subject: [PATCH] test: rename test.nix -> tests.nix The plural is consistent with tests.py and run-tests.sh --- test/run-tests.sh | 6 +++--- test/{test.nix => tests.nix} | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename test/{test.nix => tests.nix} (100%) diff --git a/test/run-tests.sh b/test/run-tests.sh index 7e42465..2263d7d 100755 --- a/test/run-tests.sh +++ b/test/run-tests.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Modules integration test runner. -# The test (./test.nix) uses the NixOS testing framework and is executed in a VM. +# The tests (./tests.nix) use the NixOS testing framework and are executed in a VM. # # Usage: # Run all tests @@ -67,7 +67,7 @@ run() { export TMPDIR=$(mktemp -d /tmp/nix-bitcoin-test.XXX) trap "rm -rf $TMPDIR" EXIT - nix-build --out-link $TMPDIR/driver -E "import \"$scriptDir/test.nix\" { scenario = \"$scenario\"; }" -A driver + nix-build --out-link $TMPDIR/driver -E "import \"$scriptDir/tests.nix\" { scenario = \"$scenario\"; }" -A driver # Variable 'tests' contains the Python code that is executed by the driver on startup if [[ $1 == --interactive ]]; then @@ -135,7 +135,7 @@ exprForCI() { vmTestNixExpr() { cat <