aboutsummaryrefslogtreecommitdiff
path: root/toys/example
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-07-30 11:39:17 -0500
committerRob Landley <rob@landley.net>2016-07-30 11:39:17 -0500
commit8f3e0af6409e9d3cfe0370d93645ebd93d11aa0a (patch)
treebc7761e09975333f62cc168dfce18ac09e1ce470 /toys/example
parentf59f11f8e39ec914602de13e27d816cebfb0d035 (diff)
downloadtoybox-8f3e0af6409e9d3cfe0370d93645ebd93d11aa0a.tar.gz
Single builds skip commands with 0 in the install location so
"make test_scankey" didn't work.
Diffstat (limited to 'toys/example')
-rw-r--r--toys/example/test_human_readable.c2
-rw-r--r--toys/example/test_many_options.c2
-rw-r--r--toys/example/test_scankey.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/toys/example/test_human_readable.c b/toys/example/test_human_readable.c
index ae8e7888..9fff2626 100644
--- a/toys/example/test_human_readable.c
+++ b/toys/example/test_human_readable.c
@@ -2,7 +2,7 @@
*
* Copyright 2015 Rob Landley <rob@landley.net>
-USE_TEST_HUMAN_READABLE(NEWTOY(test_human_readable, "<1>1ibs", 0))
+USE_TEST_HUMAN_READABLE(NEWTOY(test_human_readable, "<1>1ibs", TOYFLAG_BIN))
config TEST_HUMAN_READABLE
bool "test_human_readable"
diff --git a/toys/example/test_many_options.c b/toys/example/test_many_options.c
index d2f5c846..e071d26c 100644
--- a/toys/example/test_many_options.c
+++ b/toys/example/test_many_options.c
@@ -2,7 +2,7 @@
*
* Copyright 2015 Rob Landley <rob@landley.net>
-USE_TEST_MANY_OPTIONS(NEWTOY(test_many_options, "ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba", TOYFLAG_USR|TOYFLAG_BIN))
+USE_TEST_MANY_OPTIONS(NEWTOY(test_many_options, "ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba", TOYFLAG_BIN))
config TEST_MANY_OPTIONS
bool "test_many_options"
diff --git a/toys/example/test_scankey.c b/toys/example/test_scankey.c
index 17eb0cfd..db900270 100644
--- a/toys/example/test_scankey.c
+++ b/toys/example/test_scankey.c
@@ -4,7 +4,7 @@
*
* TODO sigwinch
-USE_TEST_SCANKEY(NEWTOY(test_scankey, 0, 0))
+USE_TEST_SCANKEY(NEWTOY(test_scankey, 0, TOYFLAG_BIN))
config TEST_SCANKEY
bool "test_scankey"