summaryrefslogtreecommitdiff
path: root/tests/cp/capability
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cp/capability')
-rwxr-xr-xtests/cp/capability8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/cp/capability b/tests/cp/capability
index f4ee227f5..3a241d058 100755
--- a/tests/cp/capability
+++ b/tests/cp/capability
@@ -16,12 +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
- ls --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && ls --version
require_root_
working_umask_or_skip_