summaryrefslogtreecommitdiff
path: root/tests/misc/fmt-long-line
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/fmt-long-line')
-rwxr-xr-xtests/misc/fmt-long-line8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/misc/fmt-long-line b/tests/misc/fmt-long-line
index a8be381f1..3fb98e572 100755
--- a/tests/misc/fmt-long-line
+++ b/tests/misc/fmt-long-line
@@ -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
- fmt --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && fmt --version
printf '%2030s\n' ' '|sed 's/../ y/g' > in || framework_failure