diff options
author | Leah Neukirchen <leah@vuxu.org> | 2020-05-16 18:54:39 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2020-05-16 18:54:39 +0200 |
commit | d777d370dd378da8b2b91f8255e841b42906f5ac (patch) | |
tree | 94ccdf3e56246b67b4ff6733fe2aaa99c85a4437 /t | |
parent | fb77179bbd46970308c06cb6601c6cd56e8be576 (diff) | |
download | mblaze-d777d370dd378da8b2b91f8255e841b42906f5ac.tar.gz mblaze-d777d370dd378da8b2b91f8255e841b42906f5ac.tar.xz mblaze-d777d370dd378da8b2b91f8255e841b42906f5ac.zip |
t/lib.sh: work around a OpenBSD bug
Upstream report: https://marc.info/?i=871rnjhncc.fsf%20()%20vuxu%20!%20org
Diffstat (limited to 't')
-rw-r--r-- | t/lib.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/lib.sh b/t/lib.sh index 567250b..0f346d6 100644 --- a/t/lib.sh +++ b/t/lib.sh @@ -28,8 +28,8 @@ check_test() { check_same() { msg=$1 shift - eval "$1" 2>/dev/null 1>&2 >out1 || true - eval "$2" 2>/dev/null 1>&2 >out2 || true + eval "$1 || true" 2>/dev/null 1>&2 >out1 || true + eval "$2 || true" 2>/dev/null 1>&2 >out2 || true diff -u out1 out2 || true check "$msg" cmp out1 out2 } |