OSDN Git Service

Remove unnecessary workaround to vogar escaping issue
authorPaul Duffin <paulduffin@google.com>
Tue, 1 Dec 2015 13:56:52 +0000 (13:56 +0000)
committerPaul Duffin <paulduffin@google.com>
Tue, 1 Dec 2015 13:56:52 +0000 (13:56 +0000)
Vogar didn't handle arguments for the target (i.e. after --)
properly if they had characters that affect shell parsing, e.g.
spaces. In order to work around it the tools/run-jdwp-tests.sh
script added some extra quotes that now cause it to break. This
simply removes those quotes.

Change-Id: If0349f87cacf93ff8e454780e187fe7ff1623c99

tools/run-jdwp-tests.sh

index 47fc50f..c79f4b9 100755 (executable)
@@ -128,7 +128,7 @@ vogar $vm_command \
       --vm-arg -Djpda.settings.verbose=true \
       --vm-arg -Djpda.settings.syncPort=34016 \
       --vm-arg -Djpda.settings.transportAddress=127.0.0.1:55107 \
-      --vm-arg -Djpda.settings.debuggeeJavaPath="\"$art_debugee $image $debuggee_args\"" \
+      --vm-arg -Djpda.settings.debuggeeJavaPath="$art_debugee $image $debuggee_args" \
       --classpath $test_jar \
       --vm-arg -Xcompiler-option --vm-arg --debuggable \
       $test