aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-02-02 14:56:27 -0600
committerRob Landley <rob@landley.net>2016-02-02 14:56:27 -0600
commit8cbde4b27cc0c73fa4b9a0b13fc5c335e9741645 (patch)
tree732132d63fc9d5ebee5302837366dc8b5ae4c824 /scripts
parentdabdebdc7a27bde9638f1f8f528427d9f8b65fa0 (diff)
downloadtoybox-8cbde4b27cc0c73fa4b9a0b13fc5c335e9741645.tar.gz
Update to status.html and some test suite cosmetic tweaks.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mkstatus.py3
-rw-r--r--scripts/runtest.sh6
-rwxr-xr-xscripts/single.sh1
3 files changed, 6 insertions, 4 deletions
diff --git a/scripts/mkstatus.py b/scripts/mkstatus.py
index f9d3a1b0..c1b325eb 100755
--- a/scripts/mkstatus.py
+++ b/scripts/mkstatus.py
@@ -54,6 +54,7 @@ conv = [("posix", '<a href="http://pubs.opengroup.org/onlinepubs/9699919799/util
("toolbox", "", '{%s}'), ("klibc_cmd", "", '=%s='),
("sash_cmd", "", '#%s#'), ("sbase_cmd", "", '@%s@'),
("beastiebox_cmd", "", '*%s*'), ("tizen", "", '$%s$'),
+ ("shell", "", "%%%s%%"),
("request", '<a href="http://linux.die.net/man/1/%s">%%s</a>', '+%s+')]
@@ -98,7 +99,7 @@ print "implemented=%s" % len(toystuff)
outfile=open("www/status.gen", "w")
outfile.write("<h1>Status of toybox %s</h1>\n" % version[0]);
outfile.write("<h3>Legend: [posix] &lt;lsb&gt; (development) {android}\n")
-outfile.write("=klibc= #sash# @sbase@ *beastiebox* $tizen$ +request+ other\n")
+outfile.write("=klibc= #sash# @sbase@ *beastiebox* $tizen$ %shell% +request+ other\n")
outfile.write("<strike>pending</strike></h3>\n");
outfile.write("<a name=done><h2><a href=#done>Completed</a></h2><blockquote><p>%s</p></blockquote>\n" % "\n".join(done))
diff --git a/scripts/runtest.sh b/scripts/runtest.sh
index 7f9e8b92..884af9c5 100644
--- a/scripts/runtest.sh
+++ b/scripts/runtest.sh
@@ -43,9 +43,9 @@ SHOWSKIP=SKIP
if tty -s <&1
then
- SHOWPASS="$(echo -e "\033[1m\033[32m${SHOWPASS}\033[0m")"
- SHOWFAIL="$(echo -e "\033[1m\033[31m${SHOWFAIL}\033[0m")"
- SHOWSKIP="$(echo -e "\033[1m\033[33m${SHOWSKIP}\033[0m")"
+ SHOWPASS="$(echo -e "\033[1;32m${SHOWPASS}\033[0m")"
+ SHOWFAIL="$(echo -e "\033[1;31m${SHOWFAIL}\033[0m")"
+ SHOWSKIP="$(echo -e "\033[1;33m${SHOWSKIP}\033[0m")"
fi
optional()
diff --git a/scripts/single.sh b/scripts/single.sh
index 36de3159..522a7134 100755
--- a/scripts/single.sh
+++ b/scripts/single.sh
@@ -18,6 +18,7 @@ fi
export KCONFIG_CONFIG=.singleconfig
for i in "$@"
do
+ echo -n "$i:"
TOYFILE="$(egrep -l "TOY[(]($i)[ ,]" toys/*/*.c)"
if [ -z "$TOYFILE" ]