summaryrefslogtreecommitdiff
path: root/tests/touch/trailing-slash
diff options
context:
space:
mode:
Diffstat (limited to 'tests/touch/trailing-slash')
-rwxr-xr-xtests/touch/trailing-slash8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/touch/trailing-slash b/tests/touch/trailing-slash
index c1fb8833e..97b910018 100755
--- a/tests/touch/trailing-slash
+++ b/tests/touch/trailing-slash
@@ -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
- touch --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && touch --version
ln -s nowhere dangling || framework_failure
ln -s loop loop || framework_failure