OSDN Git Service
(root)
/
android-x86
/
external-toybox.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge remote-tracking branch \'toybox/master\' into HEAD am: 2305dc0dd2 am: 5e9d6ffc2...
[android-x86/external-toybox.git]
/
tests
/
more.test
1
#!/bin/bash
2
3
[ -f testing.sh ] && . testing.sh
4
5
#testing "name" "command" "result" "infile" "stdin"
6
7
cat >file1 <<EOF
8
line1
9
line2
10
EOF
11
12
testing "non-tty" "more file1 | cat -" "line1\nline2\n" "" ""
13
14
rm file1