diff options
author | maho <maho@FreeBSD.org> | 2009-08-14 18:46:53 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2009-08-14 18:46:53 +0800 |
commit | c7e2611cff6e5a39e3f44edd2d80053d4ef465b5 (patch) | |
tree | a2d07a772246ed808fa7e749aa0b7a749a1048c2 /editors | |
parent | 22c3e0e247594fba58b00d71be07357dc81619a3 (diff) | |
download | freebsd-ports-gnome-c7e2611cff6e5a39e3f44edd2d80053d4ef465b5.tar.gz freebsd-ports-gnome-c7e2611cff6e5a39e3f44edd2d80053d4ef465b5.tar.zst freebsd-ports-gnome-c7e2611cff6e5a39e3f44edd2d80053d4ef465b5.zip |
Add checker of hid.lst and a minor fix.
cf. http://www.openoffice.org/issues/show_bug.cgi?id=103796
Diffstat (limited to 'editors')
-rw-r--r-- | editors/openoffice.org-vcltesttool/files/ooovcltest.pl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/editors/openoffice.org-vcltesttool/files/ooovcltest.pl b/editors/openoffice.org-vcltesttool/files/ooovcltest.pl index 65c2d248329f..69214590762c 100644 --- a/editors/openoffice.org-vcltesttool/files/ooovcltest.pl +++ b/editors/openoffice.org-vcltesttool/files/ooovcltest.pl @@ -31,7 +31,7 @@ $ooo_milestone=~ s/m//; #### ### Customize according your needs $path_to_testttol = "/usr/local/openoffice.org-vcltesttool/program"; -$path_to_ooo = "/usr/local/openoffice.org-$ooo_tag/openoffice.org3/program" +$path_to_ooo = "/usr/local/openoffice.org-$ooo_tag/openoffice.org3/program"; #for other environments #$path_to_testttol = "/opt/openoffice-vcltesttool/testtool.bin"; #$path_to_ooo = "/usr/lib/openoffice/program"; @@ -123,3 +123,10 @@ print TESTTOOLRC "[LRU]\n"; print TESTTOOLRC "MaxLRU=4\n"; close(TESTTOOLRC); + +########### +#checking hid.lst (generated and QUASTe) +system ("cat $path_to_ooo/../../hid.lst | sort > hid.lst.genrated\n"); +system ("sed 's/\r//' hid.lst | sort > hid.lst.quaste\n"); +system ("diff -u hid.lst.genrated hid.lst.quaste > hid.lst.diff\n"); +system ("cat hid.lst.diff\n"); |