author | Brandon Casey <drafnel@gmail.com> | |
Mon, 21 Jun 2010 17:37:15 +0000 (12:37 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 21 Jun 2010 18:12:21 +0000 (11:12 -0700) | ||
commit | 7f5329f46dd3221618124df70aee2391aef6305a | |
tree | 67851c2aa490c756cb678e187497a3d666131572 | tree | snapshot |
parent | 6a1b3fc78311f16834d885e4e0baead8e51ed631 | commit | diff |
t/t7811-grep-open.sh: remove broken/redundant creation of fake "less" script
The fake "less" script was already created in a previous test titled
'setup: fake "less"', so it is redundant. Additionally, it is broken since
the redirection of 'cat' is to a file named 'less', but the chmod operates
on the file named by the $less variable which may not contain the value
'less'.
So, just remove this code, and rely on the creation of the fake "less"
script performed earlier within the test script.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The fake "less" script was already created in a previous test titled
'setup: fake "less"', so it is redundant. Additionally, it is broken since
the redirection of 'cat' is to a file named 'less', but the chmod operates
on the file named by the $less variable which may not contain the value
'less'.
So, just remove this code, and rely on the creation of the fake "less"
script performed earlier within the test script.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7811-grep-open.sh | diff | blob | history |