summaryrefslogtreecommitdiff
path: root/tests/rm/no-give-up
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rm/no-give-up')
-rwxr-xr-xtests/rm/no-give-up8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/rm/no-give-up b/tests/rm/no-give-up
index 9ee0357fe..e85196ce7 100755
--- a/tests/rm/no-give-up
+++ b/tests/rm/no-give-up
@@ -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
require_root_
mkdir d || framework_failure