summaryrefslogtreecommitdiff
path: root/tests/misc/csplit
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/csplit')
-rwxr-xr-xtests/misc/csplit8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/misc/csplit b/tests/misc/csplit
index f365da335..98c704c14 100755
--- a/tests/misc/csplit
+++ b/tests/misc/csplit
@@ -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
- csplit --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && csplit --version
# csplit could get a failed assertion to 2.0.17