summaryrefslogtreecommitdiff
path: root/tests/touch/no-rights
diff options
context:
space:
mode:
Diffstat (limited to 'tests/touch/no-rights')
-rwxr-xr-xtests/touch/no-rights8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/touch/no-rights b/tests/touch/no-rights
index f0805e75d..d2032550b 100755
--- a/tests/touch/no-rights
+++ b/tests/touch/no-rights
@@ -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
- touch --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && touch --version
# Make sure t2 is newer than t1.
touch -d '2000-01-01 00:00' t1 || framework_failure