summaryrefslogtreecommitdiff
path: root/tests/cp/cp-mv-enotsup-xattr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cp/cp-mv-enotsup-xattr')
-rwxr-xr-xtests/cp/cp-mv-enotsup-xattr8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/cp/cp-mv-enotsup-xattr b/tests/cp/cp-mv-enotsup-xattr
index 7e7b6456f..bd0ef0ed8 100755
--- a/tests/cp/cp-mv-enotsup-xattr
+++ b/tests/cp/cp-mv-enotsup-xattr
@@ -18,13 +18,9 @@
# 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; }
+
require_root_
cwd=`pwd`