aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/ijar/test/ijar_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/ijar/test/ijar_test.sh')
-rwxr-xr-xthird_party/ijar/test/ijar_test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/ijar/test/ijar_test.sh b/third_party/ijar/test/ijar_test.sh
index 0b9a92fb2d..eacf6e42bb 100755
--- a/third_party/ijar/test/ijar_test.sh
+++ b/third_party/ijar/test/ijar_test.sh
@@ -41,7 +41,7 @@ shift
source ${DIR}/testenv.sh || { echo "testenv.sh not found!" >&2; exit 1; }
function cleanup() {
- rm -fr "$TEST_TMPDIR"/*
+ rm -fr "${TEST_TMPDIR:-sentinel}"/*
}
trap cleanup EXIT
@@ -235,7 +235,7 @@ function test_ijar_output() {
# Check that compile-time constants in A are still annotated as such in ijar:
- $JAVAP -classpath $TEST_TMPDIR/classes -c B | grep -sq ldc2_w.*123 ||
+ $JAVAP -classpath $TEST_TMPDIR/classes -c B | grep -sq 'ldc2_w.*123' ||
fail "ConstantValue not propagated to class B!"