diff options
author | Rob Landley <rob@landley.net> | 2019-01-19 17:00:26 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-01-19 17:00:26 -0600 |
commit | b67a5a07b0c3173922b7f2305f90216375be0bd5 (patch) | |
tree | ebcd1802b2c48284a65bb5f703fbef14ee9874fc | |
parent | 84ef9083fbb8435031b0f0ff8ac03324ce2d0e6f (diff) | |
download | toybox-b67a5a07b0c3173922b7f2305f90216375be0bd5.tar.gz |
Have test.sh use portability.sh too.
-rwxr-xr-x | scripts/test.sh | 5 |
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() { |