aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-01-19 17:00:26 -0600
committerRob Landley <rob@landley.net>2019-01-19 17:00:26 -0600
commitb67a5a07b0c3173922b7f2305f90216375be0bd5 (patch)
treeebcd1802b2c48284a65bb5f703fbef14ee9874fc /scripts
parent84ef9083fbb8435031b0f0ff8ac03324ce2d0e6f (diff)
downloadtoybox-b67a5a07b0c3173922b7f2305f90216375be0bd5.tar.gz
Have test.sh use portability.sh too.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/test.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/test.sh b/scripts/test.sh
index 7e327a5d..a31021c6 100755
--- a/scripts/test.sh
+++ b/scripts/test.sh
@@ -1,6 +1,7 @@
#!/bin/bash
-. scripts/runtest.sh
+source scripts/runtest.sh
+source scripts/portability.sh
TOPDIR="$PWD"
FILES="$PWD"/tests/files
@@ -26,7 +27,7 @@ cd testdir
export LC_COLLATE=C
[ -f "$TOPDIR/generated/config.h" ] &&
- export OPTIONFLAGS=:$(echo $(sed -nr 's/^#define CFG_(.*) 1/\1/p' "$TOPDIR/generated/config.h") | sed 's/ /:/g')
+ export OPTIONFLAGS=:$(echo $($SED -nr 's/^#define CFG_(.*) 1/\1/p' "$TOPDIR/generated/config.h") | $SED 's/ /:/g')
do_test()
{