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