diff options
author | Olivier Thauvin <nanardon@mandriva.org> | 2007-08-26 12:52:29 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mandriva.org> | 2007-08-26 12:52:29 +0000 |
commit | 163afad6b7e0bc36aa7f27d2a9ce0625b05d1b6b (patch) | |
tree | e30fba9ca6691567fcb1344c476822ba358ca38f /tests | |
parent | 31f5c4c124cd5332b4038b11949cd99b9cfcdcc4 (diff) | |
download | rpm-setup-163afad6b7e0bc36aa7f27d2a9ce0625b05d1b6b.tar rpm-setup-163afad6b7e0bc36aa7f27d2a9ce0625b05d1b6b.tar.gz rpm-setup-163afad6b7e0bc36aa7f27d2a9ce0625b05d1b6b.tar.bz2 rpm-setup-163afad6b7e0bc36aa7f27d2a9ce0625b05d1b6b.tar.xz rpm-setup-163afad6b7e0bc36aa7f27d2a9ce0625b05d1b6b.zip |
- test are altered by .svn files, fixing
Diffstat (limited to 'tests')
-rw-r--r-- | tests/findlang.pl | 3 | ||||
-rwxr-xr-x | tests/findlang.sh | 9 |
2 files changed, 11 insertions, 1 deletions
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 |