From b56048715f15bfa34058fc022efea29a2e18e112 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Wed, 29 Jan 2025 14:38:41 +0100 Subject: test(shards_finalize): Init --- tests/shards_finalize/by-name/em/empty/file.other | 0 tests/shards_finalize/by-name/fi/first/file.nix | 0 tests/shards_finalize/by-name/fi/first/other.nix | 0 tests/shards_finalize/by-name/se/second/file.nix | 0 tests/shards_finalize/by-name/se/second/nothing.lix | 0 tests/shards_finalize/by-name/th/third/file.nix | 0 tests/shards_finalize/by-name/tripwire.test | 0 tests/shards_finalize/test.nix | 9 +++++++++ 8 files changed, 9 insertions(+) create mode 100644 tests/shards_finalize/by-name/em/empty/file.other create mode 100644 tests/shards_finalize/by-name/fi/first/file.nix create mode 100644 tests/shards_finalize/by-name/fi/first/other.nix create mode 100644 tests/shards_finalize/by-name/se/second/file.nix create mode 100644 tests/shards_finalize/by-name/se/second/nothing.lix create mode 100644 tests/shards_finalize/by-name/th/third/file.nix create mode 100644 tests/shards_finalize/by-name/tripwire.test create mode 100644 tests/shards_finalize/test.nix (limited to 'tests') diff --git a/tests/shards_finalize/by-name/em/empty/file.other b/tests/shards_finalize/by-name/em/empty/file.other new file mode 100644 index 0000000..e69de29 diff --git a/tests/shards_finalize/by-name/fi/first/file.nix b/tests/shards_finalize/by-name/fi/first/file.nix new file mode 100644 index 0000000..e69de29 diff --git a/tests/shards_finalize/by-name/fi/first/other.nix b/tests/shards_finalize/by-name/fi/first/other.nix new file mode 100644 index 0000000..e69de29 diff --git a/tests/shards_finalize/by-name/se/second/file.nix b/tests/shards_finalize/by-name/se/second/file.nix new file mode 100644 index 0000000..e69de29 diff --git a/tests/shards_finalize/by-name/se/second/nothing.lix b/tests/shards_finalize/by-name/se/second/nothing.lix new file mode 100644 index 0000000..e69de29 diff --git a/tests/shards_finalize/by-name/th/third/file.nix b/tests/shards_finalize/by-name/th/third/file.nix new file mode 100644 index 0000000..e69de29 diff --git a/tests/shards_finalize/by-name/tripwire.test b/tests/shards_finalize/by-name/tripwire.test new file mode 100644 index 0000000..e69de29 diff --git a/tests/shards_finalize/test.nix b/tests/shards_finalize/test.nix new file mode 100644 index 0000000..0e6d5e0 --- /dev/null +++ b/tests/shards_finalize/test.nix @@ -0,0 +1,9 @@ +let + nixLib = import ../../default.nix {}; +in + nixLib.mkByName { + useShards = true; + baseDirectory = ./by-name; + fileName = "file.nix"; + finalizeFunction = name: value: "${name}-${value}"; + } -- cgit 1.4.1