diff options
author | Pete Wyckoff <pw@padd.com> | 2012-06-27 08:01:03 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-06-27 21:06:35 -0700 |
commit | a0327c0edc7ada60ae2af5ec8daa5dcfcacd095d (patch) | |
tree | 38174de954b8a413be05d9c803c808dbf59a44f5 /trace.c | |
parent | git p4 test: split up big t9800 test (diff) | |
download | tgif-a0327c0edc7ada60ae2af5ec8daa5dcfcacd095d.tar.xz |
git p4 test: fix badp4dir test
The construct used to get the return code was flawed, in that
errors in the &&-chain before the semicolon were not caught. Use
the standard test_expect_code instead.
Set PATH in a subshell instead of relying on the bashism of
setting it just for a single command.
And fix the grep line so it doesn't worry about grep segfaults,
and doesn't fail for i18n issues.
Reported-by: Johannes Sixt <j.sixt@viscovery.net>
Signed-off-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'trace.c')
0 files changed, 0 insertions, 0 deletions