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