Skip to content

Commit

Permalink
Revert "tests/functional/common/init.sh: Use parentheses around negat…
Browse files Browse the repository at this point in the history
…ion" ShellCheck doesn't want us to add extra parentheses for show. This reverts commit 7c9f3ee.

# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# On branch functional-tests-on-nixos
# Your branch is up to date with 'hercules-ci/functional-tests-on-nixos'.
#
# Changes to be committed:
#	modified:   tests/functional/common/init.sh
#
# Untracked files:
#	.direnv/
#	.gitignore.orig
#	Makefile.orig
#	after
#	badimport.nix
#	base
#	cherry
#	custom-shell.nix
#	die
#	doc/external-api/
#	doc/internal-api/
#	doc/manual/rl-next/report-disallowed-requisite-chains.md
#	doc/manual/src/glossary.md.orig
#	doc/manual/src/release-notes/rl-next.md.orig
#	doc/manual/version.txt
#	files
#	flake.nix.orig
#	index.html
#	local.diff
#	not
#	remote.diff
#	scripts/nix-http-export.cgi
#	scripts/nix-reduce-build
#	src/libexpr/flake/flake.cc.orig
#	src/meson-info/
#	src/meson-logs/
#	src/meson-private/
#	src/src/
#	test.md
#	test.nix
#	tests/nixpkgs.nix
#	tests/repl-completion.nix-
#	tests/unit/libfetchers-support/
#	tests/unit/libfetchers/local.mk.mine
#	warn.nix
#
  • Loading branch information
roberth committed Jun 20, 2024
1 parent dcee46a commit cb96b87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/functional/common/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cb96b87

Please sign in to comment.