blob: 9966314503b8be78f84e4368302ddf5d9030df53 [file] [log] [blame]
Denis Vlasenko3139ea72008-12-14 15:45:25 +00001#!/bin/sh
2# Copyright 2008 by Denys Vlasenko
3# Licensed under GPL v2, see file LICENSE for details.
4
Mike Frysingercaa79402009-11-04 18:41:22 -05005. ./testing.sh
Denis Vlasenko3139ea72008-12-14 15:45:25 +00006
7# testing "test name" "options" "expected result" "file input" "stdin"
8
9testing "expand" \
10 "expand" \
11 " 12345678 12345678\n" \
12 "" \
13 "\t12345678\t12345678\n" \
14
Tomas Heinrichd2b1ba62010-01-04 16:21:31 +010015testing "expand with unicode characher 0x394" \
16 "expand" \
17 "Δ 12345ΔΔΔ 12345678\n" \
18 "" \
19 "Δ\t12345ΔΔΔ\t12345678\n" \
20
Denis Vlasenko3139ea72008-12-14 15:45:25 +000021exit $FAILCOUNT