]> Cypherpunks repositories - gostls13.git/commitdiff
misc/cgo/testcshared: remove use of 'env'.
authorHyang-Ah (Hana) Kim <hyangah@gmail.com>
Wed, 13 May 2015 21:26:19 +0000 (17:26 -0400)
committerHyang-Ah Hana Kim <hyangah@gmail.com>
Wed, 13 May 2015 21:31:03 +0000 (21:31 +0000)
'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>
misc/cgo/testcshared/test.bash

index ed437577c7716b3c814018cb39ffef627970de2d..492d25e1342ce43fce883e1c98d3fe980ae3c635 100755 (executable)
@@ -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";;