summaryrefslogtreecommitdiff
path: root/tests/misc/head-pos
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/head-pos')
-rwxr-xr-xtests/misc/head-pos8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/misc/head-pos b/tests/misc/head-pos
index abbf22c0a..8d5d00a27 100755
--- a/tests/misc/head-pos
+++ b/tests/misc/head-pos
@@ -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
- head --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && head --version
(echo a; echo b) > in || framework_failure