From 163afad6b7e0bc36aa7f27d2a9ce0625b05d1b6b Mon Sep 17 00:00:00 2001 From: Olivier Thauvin Date: Sun, 26 Aug 2007 12:52:29 +0000 Subject: - test are altered by .svn files, fixing --- Makefile.am | 5 +---- find-lang-root/usr/share/gnome/help/lang/pt_BR/any.html | 0 find-lang-root/usr/share/locale/pt_BR/LC_MESSAGES/lang.mo | 0 find-lang-root/usr/share/man/fr/man1/lang.1.lzma | Bin 18 -> 0 bytes tests/findlang.pl | 3 ++- tests/findlang.sh | 9 +++++++++ 6 files changed, 12 insertions(+), 5 deletions(-) delete mode 100644 find-lang-root/usr/share/gnome/help/lang/pt_BR/any.html delete mode 100644 find-lang-root/usr/share/locale/pt_BR/LC_MESSAGES/lang.mo delete mode 100644 find-lang-root/usr/share/man/fr/man1/lang.1.lzma diff --git a/Makefile.am b/Makefile.am index 32b8587..39cd03b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -69,10 +69,7 @@ EXTRA_DIST = \ rpmgenplatform.in \ rpm-spec-mode.el \ tests.sh tests/macros.sh \ - tests/findlang.pl tests/findlang.sh \ - find-lang-root/usr/share/man/fr/man1/lang.1.lzma \ - find-lang-root/usr/share/locale/pt_BR/LC_MESSAGES/lang.mo \ - find-lang-root/usr/share/gnome/help/lang/pt_BR/any.html + tests/findlang.pl tests/findlang.sh edit = sed \ -e 's,@RPMVENDOR\@,$(RPMVENDOR),g' \ diff --git a/find-lang-root/usr/share/gnome/help/lang/pt_BR/any.html b/find-lang-root/usr/share/gnome/help/lang/pt_BR/any.html deleted file mode 100644 index e69de29..0000000 diff --git a/find-lang-root/usr/share/locale/pt_BR/LC_MESSAGES/lang.mo b/find-lang-root/usr/share/locale/pt_BR/LC_MESSAGES/lang.mo deleted file mode 100644 index e69de29..0000000 diff --git a/find-lang-root/usr/share/man/fr/man1/lang.1.lzma b/find-lang-root/usr/share/man/fr/man1/lang.1.lzma deleted file mode 100644 index 060724c..0000000 Binary files a/find-lang-root/usr/share/man/fr/man1/lang.1.lzma and /dev/null differ diff --git a/tests/findlang.pl b/tests/findlang.pl index 12deb62..fa6dbae 100644 --- a/tests/findlang.pl +++ b/tests/findlang.pl @@ -11,10 +11,11 @@ my $testarbo = "$pwd/find-lang-root"; my %files = ( - # file => [ lang, is_dir ] + # file => [ lang, is_%dir ] '/usr/share/man/fr' => [ 'fr', 0 ], '/usr/share/locale/pt_BR' => [ 'pt_BR', 0 ], '/usr/share/gnome/help/lang/pt_BR' => [ 'pt_BR', 0 ], + '/usr/share/gnome/help/lang/en_GB' => [ 'en_GB', 0 ], '/usr/share/gnome/help/lang' => [ '', 1 ], ); diff --git a/tests/findlang.sh b/tests/findlang.sh index 10b422c..fb7110a 100755 --- a/tests/findlang.sh +++ b/tests/findlang.sh @@ -1,3 +1,12 @@ #!/bin/sh +rm -fr find-lang-root +for file in \ + find-lang-root/usr/share/man/fr/man1/lang.1.lzma \ + find-lang-root/usr/share/locale/pt_BR/LC_MESSAGES/lang.mo \ + find-lang-root/usr/share/gnome/help/lang/pt_BR/any.html \ + find-lang-root/usr/share/gnome/help/lang/en_GB/any.html +do install -D Makefile $file +done + exec perl tests/findlang.pl -- cgit v1.2.1