summaryrefslogtreecommitdiff
path: root/tests/rm/dir-no-w
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rm/dir-no-w')
-rwxr-xr-xtests/rm/dir-no-w8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/rm/dir-no-w b/tests/rm/dir-no-w
index c1b6fc4cb..8dc19d4fa 100755
--- a/tests/rm/dir-no-w
+++ b/tests/rm/dir-no-w
@@ -17,12 +17,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 --mode=0500 unwritable-dir || framework_failure