Thread (24 messages) flat view 24 messages, 3 authors, 2016-06-15

Re: [PATCHv4 14/15] Add missing &&'s throughout the testsuite

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2016-06-15 22:49:40

On Sun, Sep 26, 2010 at 23:14, Elijah Newren [off-list ref] wrote:
 test_expect_success 'did not use upload-pack service' '
-       grep '/git-upload-pack' <"$HTTPD_ROOT_PATH"/access.log >act
-       : >exp
+       grep '/git-upload-pack' <"$HTTPD_ROOT_PATH"/access.log >act &&
+       >exp &&
       test_cmp exp act
 '
This test started failing in pu, I'm presuming you didn't spot it
since you didn't run the tests with GIT_TEST_HTTPD=1.

Anyway, that grep should be a "! grep" to work with &&.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help