summaryrefslogtreecommitdiff
path: root/tests/rm/v-slash
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rm/v-slash')
-rwxr-xr-xtests/rm/v-slash8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/rm/v-slash b/tests/rm/v-slash
index e53d9d934..a9ab828bc 100755
--- a/tests/rm/v-slash
+++ b/tests/rm/v-slash
@@ -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
- rm --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && rm --version
mkdir a || framework_failure
touch a/x || framework_failure