summaryrefslogtreecommitdiff
path: root/tests/mv/update
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-11-14 12:02:39 +0100
committerJim Meyering <meyering@redhat.com>2010-11-17 20:48:57 +0100
commitff7f0ff85c40174f1885ec61fa4ab6b73d02b555 (patch)
treef3b51b82bcee4d908f31adab1c09552e77e54fe2 /tests/mv/update
parentf38becab02472e6872048a1951b249b2a3c054df (diff)
downloadcoreutils-ff7f0ff85c40174f1885ec61fa4ab6b73d02b555.tar.xz
tests: convert 'if test "$VERBOSE" = yes; then' to test ... &&
Diffstat (limited to 'tests/mv/update')
-rwxr-xr-xtests/mv/update7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/mv/update b/tests/mv/update
index a8035922e..b0a532c63 100755
--- a/tests/mv/update
+++ b/tests/mv/update
@@ -16,13 +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
- cp --version
- mv --version
-fi
-
. $srcdir/test-lib.sh
+test "$VERBOSE" = yes && { cp --version; mv --version; }
echo old > old || framework_failure
touch -d yesterday old || framework_failure