From 8cbde4b27cc0c73fa4b9a0b13fc5c335e9741645 Mon Sep 17 00:00:00 2001
From: Rob Landley <rob@landley.net>
Date: Tue, 2 Feb 2016 14:56:27 -0600
Subject: Update to status.html and some test suite cosmetic tweaks.

---
 scripts/mkstatus.py | 3 ++-
 scripts/runtest.sh  | 6 +++---
 scripts/single.sh   | 1 +
 3 files changed, 6 insertions(+), 4 deletions(-)

(limited to 'scripts')

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" ]
-- 
cgit v1.2.3