diff options
Diffstat (limited to 'lowercasing_test/src/tests/hello-world/dotest.sh')
-rwxr-xr-x | lowercasing_test/src/tests/hello-world/dotest.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lowercasing_test/src/tests/hello-world/dotest.sh b/lowercasing_test/src/tests/hello-world/dotest.sh new file mode 100755 index 00000000000..8a183b81148 --- /dev/null +++ b/lowercasing_test/src/tests/hello-world/dotest.sh @@ -0,0 +1,15 @@ +#!/bin/sh +# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. + +. ../../binref/env.sh + +./lowercasing_test_hello-world-local_app > out.txt +$HELLO_WORLD_APP >> out.txt +$BINREF/runjava HelloWorldLocal >> out.txt +$BINREF/runjava HelloWorld >> out.txt + +if diff -u out.txt ref.txt; then + exit 0 +else + exit 1 +fi |