diff --git a/regress/percent.sh b/regress/percent.sh index d2ce7d4421dc..eadc064fe391 100644 --- a/regress/percent.sh +++ b/regress/percent.sh @@ -1,6 +1,6 @@ # $OpenBSD: percent.sh,v 1.17 2023/03/27 03:56:50 dtucker Exp $ # Placed in the Public Domain. - +set -x tid="percent expansions" if [ -x "/usr/xpg4/bin/id" ]; then @@ -13,7 +13,9 @@ USERID=`id -u` HOST=`hostname | cut -f1 -d.` HOSTNAME=`hostname` HASH="" +echo -n ~ HOME=`echo -n ~` +echo $HOME # Localcommand is evaluated after connection because %T is not available # until then. Because of this we use a different method of exercising it,