mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
parent
1e2b26734b
commit
2e12b58126
20 changed files with 106 additions and 71 deletions
|
@ -3,8 +3,7 @@
|
|||
# Remove overall test dir (at most one of the two should match) and
|
||||
# remove file extension.
|
||||
|
||||
# shellcheck disable=SC2154
|
||||
test_name=$(echo -n "$test" | sed \
|
||||
test_name=$(echo -n "${test?must be defined by caller (test runner)}" | sed \
|
||||
-e "s|^tests/unit/[^/]*/data/||" \
|
||||
-e "s|^tests/functional/||" \
|
||||
-e "s|\.sh$||" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue