diff options
author | Jim Meyering <meyering@redhat.com> | 2010-11-14 12:02:39 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-11-17 20:48:57 +0100 |
commit | ff7f0ff85c40174f1885ec61fa4ab6b73d02b555 (patch) | |
tree | f3b51b82bcee4d908f31adab1c09552e77e54fe2 /tests/chmod | |
parent | f38becab02472e6872048a1951b249b2a3c054df (diff) | |
download | coreutils-ff7f0ff85c40174f1885ec61fa4ab6b73d02b555.tar.xz |
tests: convert 'if test "$VERBOSE" = yes; then' to test ... &&
Diffstat (limited to 'tests/chmod')
-rwxr-xr-x | tests/chmod/silent | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/chmod/silent b/tests/chmod/silent index 9f9f86f97..2cfbcbbd7 100755 --- a/tests/chmod/silent +++ b/tests/chmod/silent @@ -16,14 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -if test "$VERBOSE" = yes; then - set -x - chgrp --version - chmod --version - chown --version -fi - . $srcdir/test-lib.sh +test "$VERBOSE" = yes && { chgrp --version; chmod --version; chown --version; } chmod -f 0 no-such 2> out && fail=1 chgrp -f 0 no-such 2>> out && fail=1 |