diff options
Diffstat (limited to 't_install_iso/014_check_bad_words.t')
-rw-r--r-- | t_install_iso/014_check_bad_words.t | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/t_install_iso/014_check_bad_words.t b/t_install_iso/014_check_bad_words.t index 88cf122..b08dee5 100644 --- a/t_install_iso/014_check_bad_words.t +++ b/t_install_iso/014_check_bad_words.t @@ -7,21 +7,21 @@ use Test::Most tests => 2; bail_on_fail; # -my $res = `find /media/iso_check/ -name '*~' -or -iname '*.swp'`; +my $res = `find /media/iso_check/ -name '*~' -or -iname '*.swp' -or -iname '.svn' -or -iname '.git*'`; if ($res) { - fail('Has no swap temporary file (*~ or *.swp).'); + fail('Has no swap temp or hiden RCS files (*~, *.swp, .svn or .git*).'); note $res; } else { - pass('Has no swap temp file.'); + pass('Has no swap temp or hiden RDC files (*~, *.swp, .svn or .git*).'); } # -$res = `find /media/iso_check/ -iname '*roxx*' -or -iname '*sucks*' -or -iname 'ubuntu*' -or -iname 'microsoft*' -or -iname 'mandrake*' -or -iname 'mandriva'`; +$res = `find /media/iso_check/ -iname '*roxx*' -or -iname '*sucks*' -or -iname 'ubuntu*' -or -iname 'microsoft*' -or -iname 'mandrake*' -or -iname 'mandriva' -or -iname 'todo' -or -iname 'delete*'`; if ($res) { - fail('Has no blacklisted word.'); + fail('Has no blacklisted words.'); note $res; } else { - pass('Has no blacklisted word.'); + pass('Has no blacklisted words.'); } done_testing(); |