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