From: Hyang-Ah (Hana) Kim Date: Wed, 13 May 2015 21:26:19 +0000 (-0400) Subject: misc/cgo/testcshared: remove use of 'env'. X-Git-Tag: go1.5beta1~610 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=647026a16ba7468855b9f83ab796080708879516;p=gostls13.git 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 --- diff --git a/misc/cgo/testcshared/test.bash b/misc/cgo/testcshared/test.bash index ed437577c7..492d25e134 100755 --- a/misc/cgo/testcshared/test.bash +++ b/misc/cgo/testcshared/test.bash @@ -46,7 +46,7 @@ function run() { 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";;