1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 06:31:14 +02:00

tests: remove unneeded indirection

the additional function calls obscured the actual logic

Co-authored-by: Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com>
This commit is contained in:
Valentin Gagarin 2024-05-06 15:17:27 +02:00
parent 20445dfeaf
commit 27a02bc7d1
3 changed files with 4 additions and 12 deletions

View file

@ -9,6 +9,6 @@ dir="$(dirname "${BASH_SOURCE[0]}")"
source "$dir/common-test.sh"
if [ -n "$init" ]; then
(init_test)
(run "$init" 2>/dev/null > /dev/null)
fi
run_test_proper
run "$test"