tests/functional/common/init.sh: Use parentheses around negation

roberth: Not strictly necessary, but probably a good habit

Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
This commit is contained in:
Robert Hensing 2024-06-19 21:46:01 +02:00 committed by Robert Hensing
parent 648302b833
commit 7c9f3eeef8

View file

@ -9,7 +9,7 @@ if isTestOnNixOS; then
export NIX_USER_CONF_FILES="$test_nix_conf_dir/nix.conf"
mkdir -p "$test_nix_conf_dir" "$TEST_HOME"
! test -e "$test_nix_conf"
(! test -e "$test_nix_conf")
cat > "$test_nix_conf_dir/nix.conf" <<EOF
experimental-features = nix-command flakes
flake-registry = $TEST_ROOT/registry.json