summaryrefslogtreecommitdiff
path: root/tests/rmdir/fail-perm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rmdir/fail-perm')
-rwxr-xr-xtests/rmdir/fail-perm8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/rmdir/fail-perm b/tests/rmdir/fail-perm
index cadab59ba..8c37f8d90 100755
--- a/tests/rmdir/fail-perm
+++ b/tests/rmdir/fail-perm
@@ -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
- rmdir --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && rmdir --version
mkdir d d/e d/e/f || framework_failure
chmod a-w d || framework_failure