summaryrefslogtreecommitdiff
path: root/tests/touch/read-only
diff options
context:
space:
mode:
Diffstat (limited to 'tests/touch/read-only')
-rwxr-xr-xtests/touch/read-only8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/touch/read-only b/tests/touch/read-only
index 06135c7b8..265f2880b 100755
--- a/tests/touch/read-only
+++ b/tests/touch/read-only
@@ -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
skip_if_root_
: > read-only || framework_failure