1# @(#)TEST.csh 5.1 (Berkeley) 06/08/92 2 3alias t '/usr/src/bin/test/obj/test \!*; echo $status' 4#alias t 'test \!*; echo $status' 5 6echo 't -b /dev/ttyp2' 7t -b /dev/ttyp2 8echo 't -b /dev/jb1a' 9t -b /dev/jb1a 10 11echo 't -c test.c' 12t -c test.c 13echo 't -c /dev/tty' 14t -c /dev/tty 15 16echo 't -d test.c' 17t -d test.c 18echo 't -d /etc' 19t -d /etc 20 21echo 't -e noexist' 22t -e noexist 23echo 't -e test.c' 24t -e test.c 25 26echo 't -f noexist' 27t -f noexist 28echo 't -f /dev/tty' 29t -f /dev/tty 30echo 't -f test.c' 31t -f test.c 32 33echo 't -g test.c' 34t -g test.c 35echo 't -g /bin/ps' 36t -g /bin/ps 37 38echo 't -n ""' 39t -n "" 40echo 't -n "hello"' 41t -n "hello" 42 43echo 't -p test.c' 44t -p test.c 45 46echo 't -r noexist' 47t -r noexist 48echo 't -r /etc/master.passwd' 49t -r /etc/master.passwd 50echo 't -r test.c' 51t -r test.c 52 53echo 't -s noexist' 54t -s noexist 55echo 't -s /dev/null' 56t -s /dev/null 57echo 't -s test.c' 58t -s test.c 59 60echo 't -t 20' 61t -t 20 62echo 't -t 0' 63t -t 0 64 65echo 't -u test.c' 66t -u test.c 67echo 't -u /bin/rcp' 68t -u /bin/rcp 69 70echo 't -w noexist' 71t -w noexist 72echo 't -w /etc/master.passwd' 73t -w /etc/master.passwd 74echo 't -w /dev/null' 75t -w /dev/null 76 77echo 't -x noexist' 78t -x noexist 79echo 't -x /bin/ps' 80t -x /bin/ps 81echo 't -x /etc/motd' 82t -x /etc/motd 83 84echo 't -z ""' 85t -z "" 86echo 't -z "foo"' 87t -z "foo" 88 89echo 't "foo"' 90t "foo" 91echo 't ""' 92t "" 93 94echo 't "hello" = "hello"' 95t "hello" = "hello" 96echo 't "hello" = "goodbye"' 97t "hello" = "goodbye" 98 99echo 't "hello" != "hello"' 100t "hello" != "hello" 101echo 't "hello" != "goodbye"' 102t "hello" != "goodbye" 103 104echo 't 200 -eq 200' 105t 200 -eq 200 106echo 't 34 -eq 222' 107t 34 -eq 222 108 109echo 't 200 -ne 200' 110t 200 -ne 200 111echo 't 34 -ne 222' 112t 34 -ne 222 113 114echo 't 200 -gt 200' 115t 200 -gt 200 116echo 't 340 -gt 222' 117t 340 -gt 222 118 119echo 't 200 -ge 200' 120t 200 -ge 200 121echo 't 34 -ge 222' 122t 34 -ge 222 123 124echo 't 200 -lt 200' 125t 200 -lt 200 126echo 't 34 -lt 222' 127t 34 -lt 222 128 129echo 't 200 -le 200' 130t 200 -le 200 131echo 't 340 -le 222' 132t 340 -le 222 133 134echo 't 700 -le 1000 -a -n "1" -a "20" = "20"' 135t 700 -le 1000 -a -n "1" -a "20" = "20" 136echo 't ! \( 700 -le 1000 -a -n "1" -a "20" = "20" \)' 137t ! \( 700 -le 1000 -a -n "1" -a "20" = "20" \) 138