summaryrefslogtreecommitdiffstats
path: root/bin/test/operators.h
diff options
context:
space:
mode:
authorcsgr <csgr@FreeBSD.org>1994-09-11 13:57:31 +0000
committercsgr <csgr@FreeBSD.org>1994-09-11 13:57:31 +0000
commitb819d56caf66a2bbb416cd1a946e286daf646469 (patch)
treeca86369a9fb0914094e68aeca4fc515a587bf285 /bin/test/operators.h
parent15c2fa33ec4181b8477c00ae0052d90c04091039 (diff)
downloadFreeBSD-src-b819d56caf66a2bbb416cd1a946e286daf646469.zip
FreeBSD-src-b819d56caf66a2bbb416cd1a946e286daf646469.tar.gz
- handle signs on integers properly,
- make sure error messages for bad integers are moderately sensible - handle test ! "abc" -o "abc" (This should evaluate to true) (and similar cases) ie: and/or operator test added to POSIX special case processing. - more test cases added. Based on: Work done on 1.x's test(1) by Andrew Moore and Adam David.
Diffstat (limited to 'bin/test/operators.h')
-rw-r--r--bin/test/operators.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/test/operators.h b/bin/test/operators.h
index f8746df..74a5a95 100644
--- a/bin/test/operators.h
+++ b/bin/test/operators.h
@@ -73,5 +73,6 @@
extern const char *const unary_op[];
extern const char *const binary_op[];
+extern const char *const andor_op[];
extern const char op_priority[];
extern const char op_argflag[];
OpenPOWER on IntegriCloud