1 // commit 2b2aff37aced66e4a50a38a14607a9b1dc0ee001 2013-10-03
2 // execle should pass env properly
10 char *env
[] = {"VAR=abc", 0};
12 execle("/bin/sh", "sh", "-c",
13 "[ \"$VAR\" = abc ] || { echo '"__FILE__
": env is not passed'; exit 1; }",
16 t_error("execle failed: %s\n", strerror(errno
));