summaryrefslogtreecommitdiff
path: root/tests/mv/dup-source
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mv/dup-source')
-rwxr-xr-xtests/mv/dup-source9
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/mv/dup-source b/tests/mv/dup-source
index ad947b4b5..9ede87ef6 100755
--- a/tests/mv/dup-source
+++ b/tests/mv/dup-source
@@ -19,15 +19,10 @@
# 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
-skip_if_root_
+test "$VERBOSE" = yes && { cp --version; mv --version; }
+skip_if_root_
for i in cp; do