Module Name: src
Committed By: martin
Date: Mon Aug 29 16:04:26 UTC 2022
Modified Files:
src/bin/test [netbsd-9]: test.c
Log Message:
Pull up following revision(s) (requested by dholland in ticket #1507):
bin/test/test.c: revision 1.45
PR 56983 Izumi Tsutsui: fix confusing message in test(1) with -DSMALL
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.43.2.1 src/bin/test/test.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/test/test.c
diff -u src/bin/test/test.c:1.43 src/bin/test/test.c:1.43.2.1
--- src/bin/test/test.c:1.43 Thu Sep 13 22:00:58 2018
+++ src/bin/test/test.c Mon Aug 29 16:04:26 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: test.c,v 1.43 2018/09/13 22:00:58 kre Exp $ */
+/* $NetBSD: test.c,v 1.43.2.1 2022/08/29 16:04:26 martin Exp $ */
/*
* test(1); version 7-like -- author Erik Baalbergen
@@ -12,7 +12,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: test.c,v 1.43 2018/09/13 22:00:58 kre Exp $");
+__RCSID("$NetBSD: test.c,v 1.43.2.1 2022/08/29 16:04:26 martin Exp $");
#endif
#include <sys/stat.h>
@@ -306,7 +306,7 @@ main(int argc, char *argv[])
*/
#ifdef SMALL
- error("SMALL test, no fallback usage");
+ error("unsupported expression when built with -DSMALL");
#else
t_wp = &argv[1];