Index: test/test262/upstream-local-tests.sh |
diff --git a/test/test262/upstream-local-tests.sh b/test/test262/upstream-local-tests.sh |
index 8a40d185d1973e2b72cfecbd0785d4dc77bbd194..35e7e30977a51d5d59dec6a598c1cdb3e048d1dd 100755 |
--- a/test/test262/upstream-local-tests.sh |
+++ b/test/test262/upstream-local-tests.sh |
@@ -9,7 +9,7 @@ |
# This patch could then hopefully be used for upstreaming tests. |
# The script should be run from the top level directory of the V8 checkout. |
-git show | grep '+++ b/test/test262/local-tests' | while read test; do |
+git show $1 | grep '+++ b/test/test262/local-tests' | while read test; do |
path=${test:6} |
datapath=${path/local-tests/data} |
echo cp $path $datapath |