File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ while [ -h "$SCRIPT_SOURCE" ]; do # resolve $SOURCE until the file is no longer
1616done
1717readonly SCRIPT_DIR=" $( cd -P " $( dirname " $SCRIPT_SOURCE " ) " && pwd ) "
1818
19+ pushd ${SCRIPT_DIR}
20+
1921OS=` uname -s`
2022CYGWIN=" false"
2123case " $OS " in
@@ -130,10 +132,18 @@ mkdir -p test.${TIME}/jdk/JTwork test.${TIME}/jdk/JTreport
130132
131133tar -czf test.${TIME} .tar.gz test.${TIME} /jdk/JTwork test.${TIME} /jdk/JTreport
132134
135+ popd
136+
137+ if [ ! ` readlink -f ${SCRIPT_DIR} ` == ` pwd` ] ; then
138+ mv ${SCRIPT_DIR} /test.${TIME} .
139+ mv -v ${SCRIPT_DIR} /test.${TIME} .tar.gz .
140+ fi
141+
133142if ! [ -f test.${TIME} /tests.log ] ; then
134143 echo " Missing tests.log!" 1>&2
135144 exit 1
136145fi
146+
137147# passes should be present in tests.log
138148grep -Eqi ' ^passed:' test.${TIME} /tests.log || exit 1
139149# check for failures/errors in tests.log
You can’t perform that action at this time.
0 commit comments