repo.or.cz
/
tomato.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Tomato 1.28
[tomato.git]
/
release
/
src
/
router
/
busybox
/
testsuite
/
expand.tests
blob
3f4cda3f82c09788abc55ea7d3df233b8a07e359
1
#!/bin/sh
2
# Copyright 2008 by Denys Vlasenko
3
# Licensed under GPL v2, see file LICENSE for details.
4
5
. testing.sh
6
7
# testing "test name" "options" "expected result" "file input" "stdin"
8
9
testing
"expand"
\
10
"expand"
\
11
" 12345678 12345678
\n
"
\
12
""
\
13
"
\t
12345678
\t
12345678
\n
"
\
14
15
exit
$FAILCOUNT