OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:testing
(Results
26 - 50
of
5870
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/toybox/tests/
tac.test
3
[ -f
testing
.sh ] && .
testing
.sh
5
#
testing
"name" "command" "result" "infile" "stdin"
10
testing
"tac" "tac && echo yes" "one-B\none-A\nyes\n" "" "one-A\none-B\n"
11
testing
"-" "tac - && echo yes" "one-B\none-A\nyes\n" "" "one-A\none-B\n"
12
testing
"file1 file2" "tac file1 file2" "one-B\none-A\ntwo-B\ntwo-A\n" "" ""
13
testing
"- file" "tac - file1" "zero-B\nzero-A\none-B\none-A\n" "" "zero-A\nzero-B\n"
14
testing
"file -" "tac file1 -" "one-B\none-A\nzero-B\nzero-A\n" "" "zero-A\nzero-B\n"
16
testing
"file1 notfound file2" \
20
testing
"no trailing newline" "tac -" "defabc\n" "" "abc\ndef
[
all
...]
top.test
3
[ -f
testing
.sh ] && .
testing
.sh
5
#
testing
"name" "command" "result" "infile" "stdin"
7
testing
"batch termination" "top -b -n1 | tail -c 1" "\n" "" ""
xargs.test
3
[ -f
testing
.sh ] && .
testing
.sh
5
#
testing
"name" "command" "result" "infile" "stdin"
7
testing
"xargs" "xargs && echo yes" "hello\nyes\n" "" "hello"
8
testing
"spaces" "xargs" \
11
testing
"-n 0" "xargs -n 0 2>/dev/null || echo ok" "ok\n" \
13
testing
"-n 2" "xargs -n 2" "one two\nthree\n" "" "one \ntwo\n three"
14
testing
"-n exact match" "xargs -n 3" "one two three\n" "" "one two three"
15
testing
"xargs2" "xargs -n2" "one two\nthree four\nfive\n" "" \
17
testing
"-s too long" "xargs -s 9 echo 2>/dev/null || echo ok"
[
all
...]
printf.test
6
[ -f
testing
.sh ] && .
testing
.sh
8
#
testing
"name" "command" "result" "infile" "stdin"
13
testing
"text" "$PRINTF TEXT" "TEXT" "" ""
14
testing
"escapes" "$PRINTF 'one\ntwo\n\v\t\r\f\e\b\athree'" \
16
testing
"%b escapes" "$PRINTF %b 'one\ntwo\n\v\t\r\f\e\b\athree'" \
18
testing
"null" "$PRINTF 'x\0y' | od -An -tx1" ' 78 00 79\n' "" ""
19
testing
"trailing slash" "$PRINTF 'abc\'" 'abc\' "" ""
20
testing
"octal" "$PRINTF ' \1\002\429\045x'" ' \001\002"9%x' "" ""
21
testing
"not octal" "$PRINTF '\9'" '\9' "" "
[
all
...]
seq.test
3
[ -f
testing
.sh ] && .
testing
.sh
5
#
testing
"name" "command" "result" "infile" "stdin"
7
testing
"(exit with error)" "seq 2> /dev/null || echo yes" "yes\n" "" ""
8
testing
"(exit with error)" "seq 1 2 3 4 2> /dev/null || echo yes" \
10
testing
"one argument" "seq 3" "1\n2\n3\n" "" ""
11
testing
"two arguments" "seq 5 7" "5\n6\n7\n" "" ""
12
testing
"two arguments reversed" "seq 7 5" "" "" ""
13
testing
"two arguments equal" "seq 3 3" "3\n" "" ""
14
testing
"two arguments equal, arbitrary negative step" "seq 1 -15 1"
[
all
...]
cksum.test
3
[ -f
testing
.sh ] && .
testing
.sh
6
#
testing
"name" "command" "result" "infile" "stdin"
9
testing
"on stdin" "echo -n hello | cksum" "3287646509 5\n" "" ""
11
testing
"on file" "cksum tmpfile" "3287646509 5 tmpfile\n" "" ""
14
testing
"on multiple files" "cksum one two" "4294967295 0 one\n4294967295 0 two\n" "" ""
19
testing
"on abc including length" "echo -n 'abc' | cksum" "1219131554 3\n" "" ""
20
testing
"on abc excluding length" "echo -ne 'abc\x3' | cksum -N" "1219131554 4\n" "" ""
23
testing
"on no data post-inversion" "echo -n "" | cksum" "4294967295 0\n" "" ""
25
testing
"on no data pre+post-inversion" "echo -n "" | cksum -P" "0 0\n" "" "
[
all
...]
sha1sum.test
3
[ -f
testing
.sh ] && .
testing
.sh
5
#
testing
"name" "command" "result" "infile" "stdin"
9
testing
"TEST1" \
14
testing
"TEST2" \
19
testing
"TEST3" \
24
testing
"TEST4" \
31
testing
"sha1sum" \
36
testing
"-" \
41
testing
"file"
[
all
...]
dd.test
6
[ -f
testing
.sh ] && .
testing
.sh
11
#
testing
"name" "command" "result" "infile" "stdin"
14
testing
"count=2" "dd if=input count=2 ibs=1 $opt" "hi" "high\n" ""
15
testing
"count= 2" "dd if=input 'count= 2' ibs=1 $opt" "hi" "high\n" ""
16
SKIP_HOST=1
testing
"count=0x2" "dd if=input 'count=0x2' ibs=1 $opt" "hi" \
18
testing
"count=-2" "dd if=input 'count=-2' ibs=1 2>/dev/null || echo errored" "errored\n" "" ""
20
testing
"if=(file)" "dd if=input $opt" "I WANT\n" "I WANT\n" ""
21
testing
"of=(file)" "dd of=file $opt && cat file" "I WANT\n" "" "I WANT\n"
22
testing
"if=file of=file" "dd if=input of=foo $opt && cat foo && rm -f foo"
[
all
...]
md5sum.test
3
[ -f
testing
.sh ] && .
testing
.sh
5
#
testing
"name" "command" "result" "infile" "stdin"
10
testing
"''" "md5sum" "d41d8cd98f00b204e9800998ecf8427e -\n" "" ""
11
testing
"infile" "md5sum input" \
13
testing
"two files" "md5sum - input" \
16
testing
"4" "md5sum" "c3fcd3d76192e4007dfb496cca67e13b -\n" \
18
testing
"5" "md5sum" "d174ab98d277d9f5a5611c2c9f419d9f -\n" \
20
testing
"6" "md5sum" "57edf4a22be3c955ac49da2e2107b67a -\n" \
25
testing
"-c spaces" "md5sum -c input || echo ok"
[
all
...]
truncate.test
3
[ -f
testing
.sh ] && .
testing
.sh
5
#
testing
"name" "command" "result" "infile" "stdin"
8
testing
"0" "truncate -s 0 freep $SIZE" "0\n" "" ""
9
testing
"12345" "truncate -s 12345 freep $SIZE" "12345\n" "" ""
10
testing
"1m" "truncate -s 1m freep $SIZE" "1048576\n" "" ""
11
testing
"is sparse" "truncate -s 1g freep && stat -c %b freep" \
13
testing
"+" "truncate -s 1k freep && truncate -s +1k freep $SIZE" \
15
testing
"-" "truncate -s 4k freep && truncate -s -1k freep $SIZE" \
17
testing
"< hit"
[
all
...]
tail.test
3
[ -f
testing
.sh ] && .
testing
.sh
5
#
testing
"name" "command" "result" "infile" "stdin"
9
testing
"tail" "tail && echo yes" "oneyes\n" "" "one"
10
testing
"file" "tail file1" \
12
testing
"-n in bounds" "tail -n 3 file1" "nine\nten\neleven\n" "" ""
13
testing
"-n out of bounds" "tail -n 999 file1" "$BIGTEST" "" ""
14
testing
"-n+ in bounds" "tail -n +3 file1" \
16
testing
"-n+ outof bounds" "tail -n +999 file1" "" "" ""
17
testing
"-c in bounds" "tail -c 27 file1"
[
all
...]
test.test
3
[ -f
testing
.sh ] && .
testing
.sh
5
#
testing
"name" "command" "result" "infile" "stdin"
28
testing
"-b" "type_test -b" "" "" ""
29
testing
"-c" "type_test -c" "L" "" ""
30
testing
"-d" "type_test -d" "d" "" ""
31
testing
"-f" "type_test -f" "fs" "" ""
32
testing
"-h" "type_test -h" "L" "" ""
33
testing
"-L" "type_test -L" "L" "" ""
34
testing
"-s" "type_test -s" "ds" "" "
[
all
...]
du.test
3
[ -f
testing
.sh ] && .
testing
.sh
5
#
testing
"name" "command" "result" "infile" "stdin"
12
testing
"(no options)" "du -k du_test" "4\tdu_test/test\n8\tdu_test\n" "" ""
13
testing
"-s" "du -k -s du_test" "8\tdu_test\n" "" ""
19
testing
"counts symlinks without following" "du -ks du_test" "8\tdu_test\n" "" ""
20
testing
"-L follows symlinks" "du -ksL du_test" "16\tdu_test\n" "" ""
22
testing
"-L avoid endless loop" "du -ksL du_test" "16\tdu_test\n" "" ""
25
testing
"-HL follows symlinks" "du -ksHL du_test" "16\tdu_test\n" "" ""
26
testing
"-H does not follow unspecified symlinks" "du -ksH du_test" "8\tdu_test\n" "" "
[
all
...]
paste.test
3
[ -f
testing
.sh ] && .
testing
.sh
5
#
testing
"name" "command" "result" "infile" "stdin"
12
testing
"" "paste one two" "one1\ttwo1\none2\ttwo2\none3\ttwo3\n" "" ""
13
testing
"" "paste -s one two" "one1\tone2\tone3\ntwo1\ttwo2\ttwo3\n" "" ""
14
testing
"" "paste -s three four" "\n\n" "" ""
15
testing
"" "paste three four" "" "" ""
16
testing
"" "paste - - -" "uno\tdos\tdesqview\nunix\t\t\n" "" "uno\ndos\ndesqview\nunix\n"
17
testing
"" "paste - - - -d ''" "unodosdesqview\nunix\n" "" "uno\ndos\ndesqview\nunix\n"
18
testing
"" "paste one two one two"
[
all
...]
mkdir.test
3
[ -f
testing
.sh ] && .
testing
.sh
5
#
testing
"name" "command" "result" "infile" "stdin"
7
testing
"mkdir" "mkdir one && [ -d one ] && echo yes" "yes\n" "" ""
11
testing
"existing" \
15
testing
"one two" \
19
testing
"missing/one" \
22
testing
"-p" \
27
testing
"-p existing" "mkdir -p existing && echo yes" "yes\n" "" ""
31
testing
"(default permissions)"
[
all
...]
groupdel.test
6
[ -f
testing
.sh ] && .
testing
.sh
11
#
testing
"name" "command" "result" "infile" "stdin"
13
testing
"group_name (text)" "groupadd toyTestGroup &&
16
testing
"group_name (alphanumeric)" "groupadd toy1Test2Group3 &&
19
testing
"group_name (numeric)" "groupadd 987654321 &&
22
testing
"group_name (with ./-)" "groupadd toy.1Test-2Group.3 &&
25
testing
"group_name with group_id" "groupadd -g 49999 toyTestGroup &&
mkfifo.test
3
[ -f
testing
.sh ] && .
testing
.sh
5
#
testing
"name" "command" "result" "infile" "stdin"
7
testing
"mkfifo" "mkfifo one && [ -p one ] && echo yes" "yes\n" "" ""
11
testing
"existing" \
15
testing
"one two" \
20
testing
"(default permissions)" \
26
testing
"-m 124" \
/prebuilts/go/darwin-x86/src/cmd/go/testdata/src/cgocover/
p_test.go
3
import "
testing
"
5
func TestF(t *
testing
.T) {
/prebuilts/go/darwin-x86/src/cmd/go/testdata/src/testcycle/p1/
p1_test.go
3
import "
testing
"
5
func Test(t *
testing
.T) {
/prebuilts/go/darwin-x86/src/cmd/go/testdata/
standalone_benchmark_test.go
3
import "
testing
"
5
func Benchmark(b *
testing
.B) {
standalone_test.go
3
import "
testing
"
5
func Test(t *
testing
.T) {
/prebuilts/go/linux-x86/src/cmd/go/testdata/src/cgocover/
p_test.go
3
import "
testing
"
5
func TestF(t *
testing
.T) {
/prebuilts/go/linux-x86/src/cmd/go/testdata/src/testcycle/p1/
p1_test.go
3
import "
testing
"
5
func Test(t *
testing
.T) {
/prebuilts/go/linux-x86/src/cmd/go/testdata/
standalone_benchmark_test.go
3
import "
testing
"
5
func Benchmark(b *
testing
.B) {
standalone_test.go
3
import "
testing
"
5
func Test(t *
testing
.T) {
Completed in 270 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>