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 --- tests/findlang.pl | 3 ++- tests/findlang.sh | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'tests') 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