spark-instrumented-optimizer/core/src/test
Weiqing Yang 8a6bbe095b
[MINOR][SQL] Use resource path for test_script.sh
## What changes were proposed in this pull request?
This PR modified the test case `test("script")` to use resource path for `test_script.sh`. Make the test case portable (even in IntelliJ).

## How was this patch tested?
Passed the test case.
Before:
Run `test("script")` in IntelliJ:
```
Caused by: org.apache.spark.SparkException: Subprocess exited with status 127. Error: bash: src/test/resources/test_script.sh: No such file or directory
```
After:
Test passed.

Author: Weiqing Yang <yangweiqing001@gmail.com>

Closes #15246 from weiqingy/hivetest.
2016-10-08 12:12:35 +01:00
..
java [SPARK-5682][CORE] Add encrypted shuffle in spark 2016-08-30 09:15:31 -07:00
resources [SPARK-12221] add cpu time to metrics 2016-09-23 13:43:47 -07:00
scala/org/apache [MINOR][SQL] Use resource path for test_script.sh 2016-10-08 12:12:35 +01:00