1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 10:50:24 -04:00

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

ShellCheck doesn't want us to add extra parentheses for show.

This reverts commit 7c9f3eeef8.
This commit is contained in:
Robert Hensing 2024-06-20 20:26:07 +02:00
parent dcee46a0ef
commit d9684664c8

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
# TODO: this is not needed for all tests and prevents stable commands from be tested in isolation
experimental-features = nix-command flakes