upstream: Temporarily remove tests for '%C' since the hash contains the

local hostname and it doesn't work on any machine except mine... spotted by
djm@

OpenBSD-Regress-ID: 2d4c3585b9fcbbff14f4a5a5fde51dbd0d690401
This commit is contained in:
dtucker@openbsd.org 2020-04-03 05:43:11 +00:00 committed by Damien Miller
parent 8162402698
commit bc5c5d01ad
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: percent.sh,v 1.2 2020/04/03 03:14:03 dtucker Exp $
# $OpenBSD: percent.sh,v 1.3 2020/04/03 05:43:11 dtucker Exp $
# Placed in the Public Domain.
tid="percent expansions"
@ -55,7 +55,7 @@ for i in matchexec localcommand remotecommand controlpath identityagent \
REMUSER=remuser
fi
trial $i '%%' '%'
trial $i '%C' $HASH
#trial $i '%C' $HASH
trial $i '%i' $USERID
trial $i '%h' 127.0.0.1
trial $i '%d' $HOME
@ -65,8 +65,8 @@ for i in matchexec localcommand remotecommand controlpath identityagent \
trial $i '%p' $PORT
trial $i '%r' $REMUSER
trial $i '%u' $USER
trial $i '%%/%C/%i/%h/%d/%L/%l/%n/%p/%r/%u' \
"%/$HASH/$USERID/127.0.0.1/$HOME/$HOST/$HOSTNAME/somehost/$PORT/$REMUSER/$USER"
trial $i '%%/%i/%h/%d/%L/%l/%n/%p/%r/%u' \
"%/$USERID/127.0.0.1/$HOME/$HOST/$HOSTNAME/somehost/$PORT/$REMUSER/$USER"
done
# A subset of options support tilde expansion