... and a shell agnostic way would be: $ env LD_LIBRARY_PATH=/foo/bar go test
(see the man page of env(1)) regards On Fri, Jun 16, 2017 at 04:12:15AM -0700, Uli Kunitz wrote: > Bash supports: > ``` > LD_LIBRARY_PATH=/foo/bar go test > ``` > Is that what you want? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.