aboutsummaryrefslogtreecommitdiff
path: root/scripts/test.sh
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-04-30 11:24:17 -0500
committerRob Landley <rob@landley.net>2020-04-30 11:24:17 -0500
commitb35e4740b3bcdb550de842990ac68bc0d2974d63 (patch)
tree2a2e9bd3ed77379d7a5078dccf47af69f5a54804 /scripts/test.sh
parent322eb845a960b08a1886a374e1dc403780972767 (diff)
downloadtoybox-b35e4740b3bcdb550de842990ac68bc0d2974d63.tar.gz
Resolve absolute paths in places input can vary.
Diffstat (limited to 'scripts/test.sh')
-rwxr-xr-xscripts/test.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/test.sh b/scripts/test.sh
index d9955a5f..b22f928e 100755
--- a/scripts/test.sh
+++ b/scripts/test.sh
@@ -42,6 +42,7 @@ do_test()
C="$(which $CMDNAME 2>/dev/null)"
[ -z "$C" ] && "C=$CMDNAME"
fi
+ C="$(realpath "$C")"
. "$1"
}