/dports/sysutils/toybox/toybox-0.8.5/tests/ |
H A D | echo.test | 12 testcmd "echo" "&& $C yes" "\nyes\n" "" "" 14 testcmd "with spaces" "'one two three'" \ 16 testcmd "" "-n" "" "" "" 17 testcmd "" "-n one" "one" "" "" 18 testcmd "" "one -n" "one -n\n" "" "" 20 testcmd "" "--hello" "--hello\n" "" "" 27 testcmd "-e octal values" \ 31 testcmd "-e \\0040" "-ne '\0040'" " " "" "" 34 testcmd "-e hexadecimal values" \ 43 testcmd "-e \p" "-e '\\p'" "\\p\n" "" "" [all …]
|
H A D | test.test | 7 testcmd '0 args' '; echo $?' '1\n' '' '' 8 testcmd '1 arg' '== ; echo $?' '0\n' '' '' 9 testcmd '2 args' '-e == ; echo $?' '1\n' '' '' 10 testcmd '3 args' '-e == -e ; echo $?' '0\n' '' '' 11 testcmd '' '\( == \) ; echo $?' '1\n' '' '' 12 testcmd '' '\( == \( ; echo $?' '0\n' '' '' 72 testcmd "" "'' || echo yes" "yes\n" "" "" 73 testcmd "" "a && echo yes" "yes\n" "" "" 74 testcmd "-n" "-n '' || echo yes" "yes\n" "" "" 75 testcmd "-n2" "-n a && echo yes" "yes\n" "" "" [all …]
|
H A D | timeout.test | 8 testcmd "times out" '.1 sleep 100 ; echo $?' '124\n' '' '' 9 testcmd "failure" '-s MONKEY .1 sleep 100 2>/dev/null ; echo $?' '125\n' '' '' 10 testcmd "early failure" '2>/dev/null ; echo $?' '125\n' '' '' 11 testcmd "can't execute" '.1 / 2>/dev/null ; echo $?' '126\n' '' '' 13 testcmd "custom signal" '-s 3 .1 sleep 100; echo $?' '124\n' '' '' 14 testcmd "killed" '-s 9 .1 sleep 100; echo $?' '137\n' '' '' 15 testcmd "TERM" '-s TERM .1 sleep 100; echo $?' '124\n' '' '' 16 testcmd "exit 0" '.1 true ; echo $?' '0\n' '' '' 17 testcmd "exit 1" '.1 false ; echo $?' '1\n' '' '' 32 testcmd "trap-and-exit" '1 ./loop.sh ; echo $?' '124\n' '' '' [all …]
|
H A D | basename.test | 8 testcmd "/-only" "///////" "/\n" "" "" 9 testcmd "trailing /" "a//////" "a\n" "" "" 10 testcmd "combined" "/////a///b///c///d/////" "d\n" "" "" 13 testcmd "suffix" "a/b/c/d.suffix .suffix" "d\n" "" "" 16 testcmd "suffix=result" ".txt .txt" ".txt\n" "" "" 19 testcmd "reappearing suffix 1" "a.txt.txt .txt" "a.txt\n" "" "" 20 testcmd "reappearing suffix 2" "a.txt.old .txt" "a.txt.old\n" "" "" 26 testcmd "zero-length suffix" "a/b/c ''" "c\n" "" "" 29 testcmd "-s" "-s .txt /a/b/c.txt" "c\n" "" "" 30 testcmd "-s implies -a" "-s .txt /a/b/c.txt /a/b/d.txt" "c\nd\n" "" "" [all …]
|
H A D | demo_number.test | 7 testcmd "l 1024" "-h 123456789" "118M\n" "" "" 8 testcmd "l 1000" "-d 123456789" "123M\n" "" "" 9 testcmd "s 1024" "-h 5675" "5.5K\n" "" "" 10 testcmd "s 1000" "-d 5675" "5.6k\n" "" "" 14 testcmd "edge case" "-h 267350" "261K\n" "" "" 16 testcmd "-b" "-b 123" "123B\n" "" "" 17 testcmd "-b" "-b 123456789" "118M\n" "" "" 18 testcmd "-s" "-s 123456789" "118 M\n" "" "" 19 testcmd "-bs" "-bs 123456789" "118 M\n" "" "" 21 testcmd "units" "-b 1c 1b 1k 1kd 1m 1md 1g 1gd 1t 1td 1e 1ed" \ [all …]
|
H A D | env.test | 11 testcmd "read" "$FILTER" "BANANA=hello\nLETTERS=\nWALRUS=42\n" "" "" 12 testcmd "-u" "-u BANANA $FILTER" "LETTERS=\nWALRUS=42\n" "" "" 13 testcmd "-uu" "-u LETTERS -u WALRUS $FILTER" "BANANA=hello\n" "" "" 14 testcmd "-i" "-i env" "" "" "" 15 testcmd "-i =" "-i one=two three=four $C | sort" \ 17 testcmd "-0" "-i five=six seven=eight $C -0 | sort -z" "five=six\0seven=eight\0" "" "" 20 testcmd "early fail" '--oops 2> /dev/null ; echo $?' "125\n" "" "" 21 testcmd "why is this allowed" "=BLAH env | grep '^=BLAH\$'" "=BLAH\n" "" "" 23 testcmd "replace" "A=foo PATH= `which printenv` A" "foo\n" "" "" 29 testcmd "norecurse" 'env PATH="$PWD:$PATH" true hello' "hello\n" "" ""
|
H A D | base32.test | 7 testcmd "simple" "" "ONUW24DMMUFA====\n" "" "simple\n" 8 testcmd "file" "input" "ONUW24DMMUFA====\n" "simple\n" "" 9 testcmd "simple -d" "-d" "simple\n" "" "ONUW24DMMUFA====\n" 10 testcmd "file -d" "-d input" "simple\n" "ONUW24DMMUFA====" "" 11 testcmd "default wrap" "" \ 14 testcmd "multiline -d " "-d" \ 18 testcmd "-w" "-w 10" \ 22 testcmd "-w0" "-w0 input" \
|
H A D | base64.test | 7 testcmd "simple" "" "c2ltcGxlCg==\n" "" "simple\n" 8 testcmd "file" "input" "c2ltcGxlCg==\n" "simple\n" "" 9 testcmd "simple -d" "-d" "simple\n" "" "c2ltcGxlCg==\n" 10 testcmd "simple -d" "-d input" "simple\n" "c2ltcGxlCg==" "" 11 testcmd "default wrap" "" \ 14 testcmd "multiline -d " "-d" \ 18 testcmd "-w" "-w 10" \ 22 testcmd "-w0" "-w0 input" \
|
H A D | stat.test | 8 testcmd "as echo" "-c hello file" "hello\n" "" "" 9 testcmd "lone %" "-c % file" "%\n" "" "" 10 testcmd "%% escapes" "-c '%% and %% then %%' file" "% and % then %\n" "" "" 11 testcmd "%unknown = ?" "-c %q% file" "?%\n" "" "" 13 TZ=utc testcmd "%x" "-c %x file" "2000-01-01 01:01:01.000000000 +0000\n" "" "" 14 TZ=utc testcmd "%X" "-c %X file" "946688461\n" "" "" 17 TZ=utc testcmd "%y" "-c %y file" "2000-02-02 02:02:02.000000000 +0000\n" "" "" 18 TZ=utc testcmd "%Y" "-c %Y file" "949456922\n" "" ""
|
H A D | losetup.test | 33 testcmd "-f" "-f" "$DIR/loop0\n" "" "" 34 testcmd "-f blah.img" "-f blah.img" "" "" "" 35 testcmd "-f --show" "-f --show blah.img" "$DIR/loop1\n" "" "" 36 testcmd "-a" "-a | sort" \ 38 testcmd "-d $DIR/loop0" "-d $DIR/loop0 && losetup -a" \ 40 testcmd "-D" "-D && losetup -a" "" "" ""
|
H A D | pidof.test | 16 testcmd "short argv[1]" "pidof-$$.test" "" "" "" 17 testcmd "short argv[1] -x" "-x pidof-$$.test" "$pid\n" "" "" 22 testcmd "long argv[1]" "toybox.pidof-$$.test.script" "" "" "" 23 testcmd "long argv[1] -x" "-x toybox.pidof-$$.test.script" "$pid\n" "" "" 29 testcmd "pidof pidof" "pidof > /dev/null && echo found" "found\n" "" ""
|
H A D | printf.test | 84 testcmd "invalid hex 1" "'one\xvdtwo' 2>/dev/null || echo err" "oneerr\n" "" "" 85 testcmd "invalid hex 2" "'one\xavtwo'" "one\nvtwo" "" "" 87 testcmd "invalid oct" "'one\079two'" "one\a9two" "" "" 90 testcmd "%b \e" "'%b' '\\e' | xxd -p" "1b\n" "" "" 91 testcmd "\e" "'\\e' | xxd -p" "1b\n" "" ""
|
H A D | getopt.test | 8 testcmd "$1" "$1" "$2\n" "" "" 43 testcmd "-T" "-T ; echo \$?" "4\n" "" "" 44 testcmd "-n" "-n unlikely a -x 2>&1 | grep -o unlikely:" "unlikely:\n" "" ""
|
H A D | cut.test | 41 toyonly testcmd "-DF" "-DF 2,7,5" \ 51 testcmd "empty field" "-d ':' -f 1-3" "a::b\n" "" "a::b\n" 52 testcmd "empty field 2" "-d ':' -f 3-5" "b::c\n" "" "a::b::c:d\n"
|
H A D | kill.test | 7 testcmd "-l HUP" "-l HUP" "1\n" "" "" 8 testcmd "-l 1" "-l 1" "HUP\n" "" ""
|
H A D | tar.test | 262 testcmd "longname" "tf $FILES/tar/long_path.tar" \ 269 testcmd 'links' '-cf test.tar links' '' '' '' 274 testcmd 'links2' '-cf test.tar links' '' '' '' 278 testcmd 'exclude' '--exclude skip -cvf tar.tar folder && echo yes' \ 284 testcmd 'replace dir with file' '-xf test.tar && cat one/two/three' \
|
/dports/databases/kyotocabinet/kyotocabinet-1.2.79/lab/ |
H A D | segvtest | 10 testcmd="kchashtest" 23 testcmd="kchashtest" 28 testcmd="kctreetest" 33 testcmd="kcdirtest" 37 testcmd="kcforesttest" 75 SEGFAULT_OUTPUT_NAME="$testcmd.log" 82 trap "killall $testcmd >/dev/null 2>&1; rm -f stop.log" EXIT 100 rm -rf casket* "$testcmd.log" 101 echo "$testcmd" "$testsubcmd" $testopts casket 10000000 102 "$testcmd" "$testsubcmd" $testopts casket 10000000 & \ [all …]
|
/dports/shells/zsh/zsh-5.8.1/Completion/Base/Widget/ |
H A D | _correct_filename | 19 local file="$PREFIX$SUFFIX" trylist tilde etilde testcmd 36 testcmd=1 41 testcmd=1 45 if [[ -z $testcmd && -e "$file" ]] || 46 { [[ -n $testcmd ]] && whence "$file" >&/dev/null }; then 57 if [[ -z $testcmd ]]; then
|
/dports/devel/py-cliff/cliff-3.3.0/cliff/tests/ |
H A D | test_commandmanager.py | 117 testcmd = mock.Mock(name='testcmd') 118 testcmd.name.replace.return_value = 'test' 119 mock_pkg_resources = mock.Mock(return_value=[testcmd]) 128 testcmd = mock.Mock() 129 testcmd.name = 'test_cmd' 130 mock_pkg_resources = mock.Mock(return_value=[testcmd]) 142 testcmd = mock.Mock() 143 testcmd.name = 'test_cmd' 144 mock_pkg_resources = mock.Mock(return_value=[testcmd])
|
/dports/net/kf5-kcalendarcore/kcalendarcore-5.89.0/autotests/ |
H A D | runsingletestcase.pl | 37 $testcmd = "\"$app\" \"$file\" \"$outfile\" 2> \$null"; 39 $testcmd = "\"$app\" \"$file\" \"$outfile\""; 44 if ( system( $testcmd ) != 0 ) { 97 print ERRLOG "Command: $testcmd\n";
|
/dports/shells/bash/bash-5.1/tests/ |
H A D | posixexp5.sub | 28 eval "$testcmd" 35 printf '\n%03d: IFS = %s: %s\n' "$((n+=1))" "$i" "$testcmd" 40 for testcmd in \ 57 doTest "$testcmd"
|
/dports/devel/aegis/aegis-4.25.D510/script/ |
H A D | aebisect.in | 79 my $testcmd; 156 $testcmd = join(' ',@ARGV); 164 if (! $testcmd) { 319 &write_log( "$ProgramName done.\nResults of the command\n $testcmd\n" 390 $testres = &system_cmd($testcmd, $logf);
|
/dports/devel/kBuild/kBuild-0.1.9998/src/kash/generated/ |
H A D | builtins.c | 39 { "test", testcmd }, 40 { "[", testcmd },
|
/dports/sysutils/helm/helm-3.5.2/cmd/helm/ |
H A D | completion_test.go | 38 testcmd := fmt.Sprintf("__complete %s ''", cmdName) 39 _, out, err := executeActionCommandC(storage, testcmd)
|
/dports/textproc/hs-pandoc/pandoc-2.14.2/test/command/ |
H A D | 3779.md | 8 \newcommand{\testcmd}[1]{ 19 \testcmd{
|