]> granicus.if.org Git - cgit/commit
Brown paper bag: don't use `grep -v`
authorLars Hjemli <hjemli@gmail.com>
Sun, 24 Feb 2008 14:35:52 +0000 (15:35 +0100)
committerLars Hjemli <hjemli@gmail.com>
Sun, 24 Feb 2008 14:55:01 +0000 (15:55 +0100)
commite5ca46bf4b974ce3b51d09da4c7ad741aaa70ede
treec4595cba7c332eb9281afc20439c1a25dc0a07db
parent19134112bf942c0492f2095b668ea31c1a498f1a
Brown paper bag: don't use `grep -v`

For some inexplicable reason I'd gotten the semantics of `grep -v` totally
backwards, thinking it somehow would make the exitcode from grep indicate
the non-match of the specified pattern.

This fixes the broken tests and gives me a valuable lession about shell
programming at the same time.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
tests/t0101-index.sh
tests/t0102-summary.sh