]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: fix non POSIX constructs causing failures with dash
authorPádraig Brady <P@draigBrady.com>
Tue, 19 May 2015 11:36:29 +0000 (12:36 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 19 May 2015 14:00:57 +0000 (15:00 +0100)
commitedc5bc5020e67c0835b6e4cf8fd9fef81055c148
treef183f1fd495cbc1d459d6133681d7c665c09dbb5
parent719c15a6f2ae6bf5d17021c6f138d6378ed06c50
tests: fix non POSIX constructs causing failures with dash

* tests/cp/no-ctx.sh: Scope of `var=val func` is inconsistent
across shells, so avoid that construct with functions.
* tests/df/no-mtab-status.sh: Likewise.
* tests/tail-2/inotify-race.sh: `read` needs an argument.
* tests/tail-2/inotify-race2.sh: Likewise.
tests/cp/no-ctx.sh
tests/df/no-mtab-status.sh
tests/tail-2/inotify-race.sh
tests/tail-2/inotify-race2.sh