X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ftest-lib.sh;h=c0d04c494ae5892b539eed13f9717db27d1ec860;hb=f629c233e6dd72924ed2672db142708b71dc663e;hp=a089a188641f47a24e9018d852a3089aaf47d345;hpb=35c60a08075aa608b2653f9df3685906fe8f634e;p=git.git diff --git a/t/test-lib.sh b/t/test-lib.sh index a089a1886..c0d04c494 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -42,10 +42,11 @@ TZ=UTC TERM=dumb export LANG LC_ALL PAGER TERM TZ EDITOR=: -unset VISUAL -unset EMAIL -unset LANGUAGE -unset $(perl -e ' +# A call to "unset" with no arguments causes at least Solaris 10 +# /usr/xpg4/bin/sh and /bin/ksh to bail out. So keep the unsets +# deriving from the command substitution clustered with the other +# ones. +unset VISUAL EMAIL LANGUAGE $(perl -e ' my @env = keys %ENV; my $ok = join("|", qw( TRACE