diff options
author | rillig <rillig@pkgsrc.org> | 2020-05-12 05:34:04 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2020-05-12 05:34:04 +0000 |
commit | 8140a196668aca3d8e8def2dcb6322e807a5e105 (patch) | |
tree | 18e3c3c70c9749024ec8185dfe9ec4e9513e5174 /distfiles | |
parent | 41a1f2cb2267ec16061b406e7a4bbf49c3fc1c91 (diff) | |
download | pkgsrc-8140a196668aca3d8e8def2dcb6322e807a5e105.tar.gz |
regress/infra-unittests: clean up test code, add portability
The test can now be run with bash and ksh as well.
Bash exits if a function call returns failure, the NetBSD /bin/sh
doesn't. After reading POSIX, sections "2.9.1 Simple Commands" and "set
-e", I'm in favor of bash here.
Ksh exits in "set -eu" mode if "$@" is used but no arguments are given.
Diffstat (limited to 'distfiles')
0 files changed, 0 insertions, 0 deletions