]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
tests: avoid using eval with variable assignments
authorMike Miller <mtmiller@debian.org>
Wed, 14 Dec 2016 18:02:13 +0000 (10:02 -0800)
committerDavid Woodhouse <dwmw2@infradead.org>
Wed, 14 Dec 2016 20:12:59 +0000 (20:12 +0000)
commit8a3503350f819f4190a9b05fd613ad08a5c8bf8c
tree613c519ae5424cda6977c403638aef187c7de07d
parent9697bea0e50952cab57063238b43a7099e498cbb
tests: avoid using eval with variable assignments

For shell portability, avoid using eval with variable assignments to set
openconnect's environment. Shell implementations vary on whether
variable assignments in front of eval are marked as environment
variables or just treated as ordinary shell assignments.

Every call to $OPENCONNECT already has LD_PRELOAD=libsocket_wrapper.so
in front of it, so the "eval LD_PRELOAD=libsocket_wrapper.so" was
redundant anyway.

Signed-off-by: Mike Miller <mtmiller@debian.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
tests/auth-pkcs11
tests/common.sh
www/changelog.xml