From c591efafd3e967816964600722265b037872200a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 13 Jul 2022 14:40:39 +0200 Subject: [PATCH] Split off the Mercurial flake tests --- tests/flakes/common.sh | 36 +++++++++++++++++ tests/flakes/flakes.sh | 81 ++++++--------------------------------- tests/flakes/mercurial.sh | 46 ++++++++++++++++++++++ tests/local.mk | 1 + 4 files changed, 94 insertions(+), 70 deletions(-) create mode 100644 tests/flakes/common.sh create mode 100644 tests/flakes/mercurial.sh diff --git a/tests/flakes/common.sh b/tests/flakes/common.sh new file mode 100644 index 000000000..aa45dffa9 --- /dev/null +++ b/tests/flakes/common.sh @@ -0,0 +1,36 @@ +source ../common.sh + +registry=$TEST_ROOT/registry.json + +writeSimpleFlake() { + local flakeDir="$1" + cat > $flakeDir/flake.nix < $flakeDir/flake.nix < $flake1Dir/flake.nix < $templatesDir/flake.nix < $flake5Dir/flake.nix <