summaryrefslogtreecommitdiff
path: root/tests/misc/truncate-owned-by-other
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-11-14 12:07:57 +0100
committerJim Meyering <meyering@redhat.com>2010-11-17 20:48:57 +0100
commitfbcc100f5bc4e5d57370544093fc9edfbde411d3 (patch)
treefc7976e4eecd908c3f75e0084376a17185b9b43d /tests/misc/truncate-owned-by-other
parentff7f0ff85c40174f1885ec61fa4ab6b73d02b555 (diff)
downloadcoreutils-fbcc100f5bc4e5d57370544093fc9edfbde411d3.tar.xz
tests: convert remaining uses of test-lib.sh to init.sh
RHS='. "\${srcdir=.}/init.sh"; path_prepend_ ../src' git grep -l test-lib.sh \ | xargs perl -pi -e 's,^\. \$srcdir/test-lib\.sh$,'"$RHS",
Diffstat (limited to 'tests/misc/truncate-owned-by-other')
-rwxr-xr-xtests/misc/truncate-owned-by-other2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/truncate-owned-by-other b/tests/misc/truncate-owned-by-other
index 86fd5288e..88aa63cbe 100755
--- a/tests/misc/truncate-owned-by-other
+++ b/tests/misc/truncate-owned-by-other
@@ -16,7 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
test "$VERBOSE" = yes && truncate --version
require_root_