author | Brandon Casey <drafnel@gmail.com> | |
Wed, 15 Sep 2010 20:58:22 +0000 (15:58 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 17 Sep 2010 21:42:13 +0000 (14:42 -0700) | ||
commit | 84d694027fbecfc61683aa584725491bf614b5e1 | |
tree | 87d106293cceb7f3bee359eabfde30890af4418b | tree | snapshot |
parent | 02567e88ee8bdbf4d3852c2d6b9e5ce64a55a9e6 | commit | diff |
t/t7300: workaround ancient touch by rearranging arguments
The ancient touch on Solaris 7 thinks that a decimal number supplied as
the first argument specifies a date_time to give to the files specified by
the remaining arguments. In this case, it fails to parse '1' as a proper
date_time and exits with a failure status. Workaround this flaw by
rearranging the arguments supplied to touch so that a non-digit appears
first and touch will not be confused.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The ancient touch on Solaris 7 thinks that a decimal number supplied as
the first argument specifies a date_time to give to the files specified by
the remaining arguments. In this case, it fails to parse '1' as a proper
date_time and exits with a failure status. Workaround this flaw by
rearranging the arguments supplied to touch so that a non-digit appears
first and touch will not be confused.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7300-clean.sh | diff | blob | history |