commit | 647026a16ba7468855b9f83ab796080708879516 | [log] [tgz] |
---|---|---|
author | Hyang-Ah (Hana) Kim <hyangah@gmail.com> | Wed May 13 17:26:19 2015 -0400 |
committer | Hyang-Ah Hana Kim <hyangah@gmail.com> | Wed May 13 21:31:03 2015 +0000 |
tree | 5f83eabef86218111fc7f3369a7391613ebaa374 | |
parent | 1e26df40fa2ee41da971338ab25299e27a221704 [diff] [blame] |
misc/cgo/testcshared: remove use of 'env'. 'env' command is not available on some android devices. Change-Id: I68b1152ef7ea248c8e80c7f71e97da76e3ec6394 Reviewed-on: https://go-review.googlesource.com/9999 Reviewed-by: Minux Ma <minux@golang.org>
diff --git a/misc/cgo/testcshared/test.bash b/misc/cgo/testcshared/test.bash index ed43757..492d25e 100755 --- a/misc/cgo/testcshared/test.bash +++ b/misc/cgo/testcshared/test.bash
@@ -46,7 +46,7 @@ case "$goos" in "android") local args=$@ - output=$(adb shell "cd ${androidpath}; env $@") + output=$(adb shell "cd ${androidpath}; $@") output=$(echo $output|tr -d '\r') case $output in *PASS) echo "PASS";;