diff options
author | Darren Tucker <dtucker@cvs.openbsd.org> | 2022-01-13 04:53:17 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@cvs.openbsd.org> | 2022-01-13 04:53:17 +0000 |
commit | 061a377586ba1e506b39f3b5dd1d70675c108631 (patch) | |
tree | e9c1cbda51dbb4136081a6eb6e0c0d2f5a26ba52 /regress/usr.bin | |
parent | 2e6bedafa3752ffea530dcfe8d4a282570a45d8a (diff) |
Set LC_ALL in both local and remote shells so that sorted output
matches regardless of what the user's shell sets it to. ok djm@
Diffstat (limited to 'regress/usr.bin')
-rw-r--r-- | regress/usr.bin/ssh/agent-restrict.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/regress/usr.bin/ssh/agent-restrict.sh b/regress/usr.bin/ssh/agent-restrict.sh index cd8486e18d3..a30aed7bf3d 100644 --- a/regress/usr.bin/ssh/agent-restrict.sh +++ b/regress/usr.bin/ssh/agent-restrict.sh @@ -1,4 +1,4 @@ -# $OpenBSD: agent-restrict.sh,v 1.4 2022/01/13 04:22:10 dtucker Exp $ +# $OpenBSD: agent-restrict.sh,v 1.5 2022/01/13 04:53:16 dtucker Exp $ # Placed in the Public Domain. tid="agent restrictions" @@ -52,6 +52,10 @@ done cat $OBJ/ssh_proxy.bak >> $OBJ/ssh_proxy cat $OBJ/ssh_proxy.bak >> $OBJ/ssh_proxy_noid +LC_ALL=C +export LC_ALL +echo "SetEnv LC_ALL=${LC_ALL}" >> sshd_proxy + verbose "prepare known_hosts" rm -f $OBJ/known_hosts for h in a b c x ; do |