]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: use "returns_" rather than explicit comparison with "$?"
authorJim Meyering <meyering@fb.com>
Wed, 9 Nov 2016 01:57:41 +0000 (19:57 -0600)
committerJim Meyering <meyering@fb.com>
Mon, 14 Nov 2016 01:09:57 +0000 (17:09 -0800)
commit4d4d8bccc341941404dc92d0adc057e67014e2ea
treefaf04706ebd51a3c7e369110fb23bf80b83cef86
parenteba871cd3237e8b7dcd9552f544b365934767849
tests: use "returns_" rather than explicit comparison with "$?"

The previous "returns_"-using change failed to convert many
uses of "$?".  Convert all but two of the remaining ones.
* tests/ls/stat-vs-dirent.sh: Likewise.
* tests/misc/head-write-error.sh: Likewise.
* tests/misc/nice.sh: Likewise.
* tests/misc/nohup.sh: Likewise.
* tests/misc/stdbuf.sh: Likewise.
* tests/misc/sync.sh: Likewise.
* tests/tail-2/pid.sh: Likewise.
* tests/tail-2/wait.sh: Likewise.
Thanks to Bernhard Volker for spotting this.
tests/ls/stat-vs-dirent.sh
tests/misc/head-write-error.sh
tests/misc/nice.sh
tests/misc/nohup.sh
tests/misc/stdbuf.sh
tests/misc/sync.sh
tests/tail-2/pid.sh
tests/tail-2/wait.sh