Isolate pacman tests from inherited LC_ALL
This commit is contained in:
1 parent
ef81d37a87
commit
6f9f31ecea
1 file changed
+2
@@ -28,6 +28,8 @@ else
|
|||||||
expected_scope=""
|
expected_scope=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# The baseline has no locale override; forwarding is tested below.
|
||||||
|
unset LC_ALL
|
||||||
run_helper -Syu --noconfirm
|
run_helper -Syu --noconfirm
|
||||||
[[ $(cat "$test_tmp/call") == "env OMARCHY_UPDATE_PACMAN=1 ${expected_scope}pacman -Syu --noconfirm" ]] ||
|
[[ $(cat "$test_tmp/call") == "env OMARCHY_UPDATE_PACMAN=1 ${expected_scope}pacman -Syu --noconfirm" ]] ||
|
||||||
fail "helper composes the guarded pacman invocation" "$(cat "$test_tmp/call")"
|
fail "helper composes the guarded pacman invocation" "$(cat "$test_tmp/call")"
|
||||||
|
|||||||
Reference in new issue
Block a user