]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: Temporarily remove tests for '%C' since the hash contains the
authordtucker@openbsd.org <dtucker@openbsd.org>
Fri, 3 Apr 2020 05:43:11 +0000 (05:43 +0000)
committerDamien Miller <djm@mindrot.org>
Fri, 3 Apr 2020 06:24:42 +0000 (17:24 +1100)
local hostname and it doesn't work on any machine except mine... spotted by
djm@

OpenBSD-Regress-ID: 2d4c3585b9fcbbff14f4a5a5fde51dbd0d690401

regress/percent.sh

index 7e19abe8f37bdad6482b87bec7a260da47fd5687..d39286d46a9a78b847f3199622a619cf8b3b04b7 100644 (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