summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2020-04-03 05:43:11 +0000
committerDamien Miller <djm@mindrot.org>2020-04-03 17:24:42 +1100
commitbc5c5d01ad668981f9e554e62195383bc12e8528 (patch)
treeab3af9234cf302171b4108eff2d0bf1a62f5e7e4
parent81624026989654955a657ebf2a1fe8b9994f3c87 (diff)
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
-rw-r--r--regress/percent.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/regress/percent.sh b/regress/percent.sh
index 7e19abe8..d39286d4 100644
--- a/regress/percent.sh
+++ b/regress/percent.sh
@@ -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