summaryrefslogtreecommitdiff
path: root/tests/rm/i-no-r
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rm/i-no-r')
-rwxr-xr-xtests/rm/i-no-r8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/rm/i-no-r b/tests/rm/i-no-r
index c0548b087..3178a9843 100755
--- a/tests/rm/i-no-r
+++ b/tests/rm/i-no-r
@@ -18,12 +18,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 dir || framework_failure
echo y > y || framework_failure