t/t7300: workaround ancient touch by rearranging arguments
commit84d694027fbecfc61683aa584725491bf614b5e1
authorBrandon Casey <drafnel@gmail.com>
Wed, 15 Sep 2010 20:58:22 +0000 (15 15:58 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 17 Sep 2010 21:42:13 +0000 (17 14:42 -0700)
tree87d106293cceb7f3bee359eabfde30890af4418b
parent02567e88ee8bdbf4d3852c2d6b9e5ce64a55a9e6
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>
t/t7300-clean.sh