diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 14:46:56 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 14:46:56 +0100 |
commit | af3f42011628585cd5c8f5c1fd4b43f2e370a23d (patch) | |
tree | 125ee16d5080008fcf459ad55d91af1dcd488ef9 /coreutils/test.c | |
parent | 5b966c6180c139fba6846d632fd9bc0c34a8e1bc (diff) | |
download | busybox-w32-af3f42011628585cd5c8f5c1fd4b43f2e370a23d.tar.gz busybox-w32-af3f42011628585cd5c8f5c1fd4b43f2e370a23d.tar.bz2 busybox-w32-af3f42011628585cd5c8f5c1fd4b43f2e370a23d.zip |
Convert all coreutils/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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 "" |