diff options
Diffstat (limited to 'coreutils/test.c')
-rw-r--r-- | coreutils/test.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/coreutils/test.c b/coreutils/test.c index bf8dc47e8..81c9b7dfe 100644 --- a/coreutils/test.c +++ b/coreutils/test.c | |||
@@ -19,11 +19,6 @@ | |||
19 | * Original copyright notice states: | 19 | * Original copyright notice states: |
20 | * "This program is in the Public Domain." | 20 | * "This program is in the Public Domain." |
21 | */ | 21 | */ |
22 | |||
23 | //kbuild:lib-$(CONFIG_TEST) += test.o test_ptr_hack.o | ||
24 | //kbuild:lib-$(CONFIG_ASH) += test.o test_ptr_hack.o | ||
25 | //kbuild:lib-$(CONFIG_HUSH) += test.o test_ptr_hack.o | ||
26 | |||
27 | //config:config TEST | 22 | //config:config TEST |
28 | //config: bool "test" | 23 | //config: bool "test" |
29 | //config: default y | 24 | //config: default y |
@@ -39,6 +34,14 @@ | |||
39 | //config: help | 34 | //config: help |
40 | //config: Enable 64-bit support in test. | 35 | //config: Enable 64-bit support in test. |
41 | 36 | ||
37 | //applet:IF_TEST(APPLET_NOFORK([, test, BB_DIR_USR_BIN, BB_SUID_DROP, test)) | ||
38 | //applet:IF_TEST(APPLET_NOFORK([[, test, BB_DIR_USR_BIN, BB_SUID_DROP, test)) | ||
39 | //applet:IF_TEST(APPLET_NOFORK(test, test, BB_DIR_USR_BIN, BB_SUID_DROP, test)) | ||
40 | |||
41 | //kbuild:lib-$(CONFIG_TEST) += test.o test_ptr_hack.o | ||
42 | //kbuild:lib-$(CONFIG_ASH) += test.o test_ptr_hack.o | ||
43 | //kbuild:lib-$(CONFIG_HUSH) += test.o test_ptr_hack.o | ||
44 | |||
42 | /* "test --help" is special-cased to ignore --help */ | 45 | /* "test --help" is special-cased to ignore --help */ |
43 | //usage:#define test_trivial_usage NOUSAGE_STR | 46 | //usage:#define test_trivial_usage NOUSAGE_STR |
44 | //usage:#define test_full_usage "" | 47 | //usage:#define test_full_usage "" |