aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix/test.c')
-rw-r--r--toys/posix/test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/toys/posix/test.c b/toys/posix/test.c
index 052b8deb..87a866a7 100644
--- a/toys/posix/test.c
+++ b/toys/posix/test.c
@@ -4,7 +4,8 @@
*
* See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html
-USE_TEST(NEWTOY(test, 0, TOYFLAG_USR|TOYFLAG_BIN|TOYFLAG_NOHELP))
+USE_TEST(NEWTOY(test, 0, TOYFLAG_USR|TOYFLAG_BIN|TOYFLAG_NOHELP|TOYFLAG_MAYFORK))
+USE_TEST(OLDTOY([, test, TOYFLAG_NOFORK|TOYFLAG_NOHELP))
config TEST
bool "test"