Displaying 1 result from an estimated 1 matches for "cd4e03c".
Did you mean:
7d4e035
2011 Jan 05
0
[PATCH] fix %n expansion in LocalCommand
...d_proxy_orig \
- authorized_principals_${USER}
+ authorized_principals_${USER} \
+ expect actual
# Enable all malloc(3) randomisations and checks
TEST_ENV= "MALLOC_OPTIONS=AFGJPRX"
diff --git a/regress/host-expand.sh b/regress/host-expand.sh
new file mode 100644
index 0000000..cd4e03c
--- /dev/null
+++ b/regress/host-expand.sh
@@ -0,0 +1,18 @@
+# Placed in the Public Domain.
+
+tid="expand %h and %n"
+
+echo 'PermitLocalCommand yes' >> $OBJ/ssh_proxy
+printf 'LocalCommand printf "%%%%s\\n" "%%n" "%%h"\n' >> $OBJ...