[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Grep-devel] FYI: [PATCH] tests: use "returns_" rather than explicit com
From: |
Jim Meyering |
Subject: |
[Grep-devel] FYI: [PATCH] tests: use "returns_" rather than explicit comparison with "$?" |
Date: |
Sat, 12 Nov 2016 18:22:08 -0800 |
I've made many changes like this:
-grep '^X' in >out
-test $? = 1 || fail=1
+returns_ 1 grep '^X' in >out || fail=1
I will push the attached shortly:
grep-use-returns_.diff
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Grep-devel] FYI: [PATCH] tests: use "returns_" rather than explicit comparison with "$?",
Jim Meyering <=