author | Brandon Casey <drafnel@gmail.com> | |
Wed, 2 Jun 2010 15:32:26 +0000 (10:32 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 2 Jun 2010 16:33:36 +0000 (09:33 -0700) | ||
commit | c289c315c2bfcd5fde99f9e4dbb109f89e29dfce | |
tree | 9612ba705ec9d6da61a4d5381467fd3be88d750f | tree | snapshot |
parent | 6f89384fe0c5a131d055c19fffe22f8d087a0a7e | commit | diff |
t/t7006: ignore return status of shell's unset builtin
The unset builtin of Solaris's xpg4/sh returns non-zero if it is passed a
variable name which was not previously set. Since the unset is not likely
to fail, ignore its return status, but add a semicolon as a clue that the
'&&' was deliberately left off.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Acked-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The unset builtin of Solaris's xpg4/sh returns non-zero if it is passed a
variable name which was not previously set. Since the unset is not likely
to fail, ignore its return status, but add a semicolon as a clue that the
'&&' was deliberately left off.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Acked-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7006-pager.sh | diff | blob | history |