summaryrefslogtreecommitdiff
path: root/tests/rm/one-file-system
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rm/one-file-system')
-rwxr-xr-xtests/rm/one-file-system8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/rm/one-file-system b/tests/rm/one-file-system
index cb0b713b4..8abf7dc71 100755
--- a/tests/rm/one-file-system
+++ b/tests/rm/one-file-system
@@ -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
require_root_
# If used, these must *follow* test-lib.sh.