aboutsummaryrefslogtreecommitdiff
path: root/test.sh
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2008-03-28 00:44:44 -0500
committerRob Landley <rob@landley.net>2008-03-28 00:44:44 -0500
commit9d243a2efc889f9a171c8af1fc750665c4fb4e1b (patch)
tree0022757d2712a6d5678c1622626af37eea1d8331 /test.sh
parentbf081b9b500f7a18fe225b14b0ab92ed0b0f0ec9 (diff)
downloadtoybox-9d243a2efc889f9a171c8af1fc750665c4fb4e1b.tar.gz
Update help, move test.sh to scripts, and fix "make test" to call right script.
Diffstat (limited to 'test.sh')
-rwxr-xr-xtest.sh30
1 files changed, 0 insertions, 30 deletions
diff --git a/test.sh b/test.sh
deleted file mode 100755
index 1833682f..00000000
--- a/test.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash
-
-[ -z "$TOPDIR" ] && TOPDIR="$(pwd)"
-
-rm -rf testdir
-mkdir -p testdir
-
-if [ -z "$OLD" ]
-then
- make install_flat PREFIX=testdir
-fi
-
-cd testdir
-PATH=.:$PATH
-
-. "$TOPDIR"/scripts/test/testing.sh
-[ -f "$TOPDIR/gen_config.h" ] && export OPTIONFLAGS=:$(echo $(sed -nr 's/^#define CFG_(.*) 1/\1/p' "$TOPDIR/gen_config.h") | sed 's/ /:/g')
-
-if [ $# -ne 0 ]
-then
- for i in "$@"
- do
- . "$TOPDIR"/scripts/test/$i.test
- done
-else
- for i in "$TOPDIR"/scripts/test/*.test
- do
- . $i
- done
-fi