Teach scripts/test.sh to call scripts/single.sh.
diff --git a/scripts/test.sh b/scripts/test.sh
index 19f860b..48a5bf3 100755
--- a/scripts/test.sh
+++ b/scripts/test.sh
@@ -7,7 +7,12 @@
 
 if [ -z "$TEST_HOST" ]
 then
-  make install_flat PREFIX=testdir || exit 1
+  if [ $# -ne 0 ]
+  then
+    PREFIX=testdir/ scripts/single.sh "$@" || exit 1
+  else
+    make install_flat PREFIX=testdir || exit 1
+  fi
 fi
 
 cd testdir