Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sg/t6300-modernize' into next
author
Junio C Hamano
<gitster@pobox.com>
Tue, 27 Feb 2018 19:15:11 +0000
(11:15 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 27 Feb 2018 19:15:11 +0000
(11:15 -0800)
Test update.
* sg/t6300-modernize:
t6300-for-each-ref: fix "more than one quoting style" tests
t/t6300-for-each-ref.sh
patch
|
blob
|
history
raw
(from parent 1:
617345d
)
diff --git
a/t/t6300-for-each-ref.sh
b/t/t6300-for-each-ref.sh
index c128dfc5790790de9edf1b4d2cfa8b028c1036bc..295d1475bde0151df65e0098e6e4a169193906ed 100755
(executable)
--- a/
t/t6300-for-each-ref.sh
+++ b/
t/t6300-for-each-ref.sh
@@
-373,11
+373,8
@@
test_expect_success 'Quoting style: tcl' '
for i in "--perl --shell" "-s --python" "--python --tcl" "--tcl --perl"; do
test_expect_success "more than one quoting style: $i" "
- git for-each-ref $i 2>&1 | (read line &&
- case \$line in
- \"error: more than one quoting style\"*) : happy;;
- *) false
- esac)
+ test_must_fail git for-each-ref $i 2>err &&
+ grep '^error: more than one quoting style' err
"
done