From b67a5a07b0c3173922b7f2305f90216375be0bd5 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 19 Jan 2019 17:00:26 -0600 Subject: Have test.sh use portability.sh too. --- scripts/test.sh | 5 +++-- 1 file 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() { -- cgit v1.2.3