Home | History | Annotate | Download | only in tests

Lines Matching refs:testing

3 [ -f testing.sh ] && . testing.sh
5 #testing "name" "command" "result" "infile" "stdin"
7 testing "touch" "touch walrus && [ -e walrus ] && echo yes" "yes\n" "" ""
8 testing "1 2 3" "touch one two three && rm one two three && echo yes" "yes\n" \
10 testing "-c" "touch -c walrus && [ -e walrus ] && echo yes" "yes\n" "" ""
11 testing "-c missing" "touch -c warrus && [ ! -e warrus ] && echo yes" \
14 testing "-t" \
19 testing "-t MMDDhhmm" \
23 testing "-t YYMMDDhhmm" \
27 testing "-t CCYYMMDDhhmm" \
31 testing "-t seconds" \
35 testing "-t -" "touch -t 200109081946.40 - > walrus && date -r walrus +%s" \
38 testing "-t nanoseconds" \
42 testing "-d" \
46 testing "-d with space" \
50 testing "-d nanoseconds" \
54 testing "-r" \
59 testing "-t MMDDhhmm" \
63 testing "-t CCMMDDhhmm" \
67 testing "-a" "touch -t 197101020304 walrus &&
70 testing "-m" "touch -t 197101020304 walrus &&
73 testing "-am" "touch -t 197101020304 walrus &&
77 #testing "-t"