diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-03-13 11:25:55 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-03-13 11:25:55 -0500 |
commit | bc03b8cbd037e7db8ad6afde2936bfb3bd737dff (patch) | |
tree | 474364b442ee5698add7b4a1f5397f99d5cb1bde | |
parent | 0e1491d44326bb4a0c64c0624e6a043c36af8345 (diff) |
Remove output dir and existing .log files before running test.
-rwxr-xr-x | run-test.sh.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/run-test.sh.in b/run-test.sh.in index eae31e7..cee60c3 100755 --- a/run-test.sh.in +++ b/run-test.sh.in @@ -16,12 +16,14 @@ dump_files() source @ROOTDIR@/setenv.sh # First, import and export each xls document. +rm -rf "$CTRL_XLS_OUT_DIR" export LD_LIBRARY_PATH=@OOO_INSTALL_PATH@/program:@OOO_INSTALL_PATH@/ure/lib mkdir "$CTRL_XLS_OUT_DIR" 2>/dev/null || /bin/true cd @OOO_INSTALL_PATH@/ure/lib @EXECDIR@/run-soffice || exit 1 # Dump the contents of before and after documents. +rm $CTRL_XLS_IN_DIR/*.log dump_files "$CTRL_XLS_IN_DIR" || exit 1 dump_files "$CTRL_XLS_OUT_DIR" || exit 1 |