aboutsummaryrefslogtreecommitdiffstats
path: root/t/000_test_env.t
diff options
context:
space:
mode:
authorDamien Lallement <dams@mageia.org>2011-12-09 01:03:54 +0000
committerDamien Lallement <dams@mageia.org>2011-12-09 01:03:54 +0000
commit00ffd8d66da9a426b9be192b3311bafa1ab76332 (patch)
treeebf818258f16cb4ec918c14e39a5311ee20db191 /t/000_test_env.t
parent586a59e00d00f2b1347f015911545b722f2d1f8b (diff)
downloadisocheck-00ffd8d66da9a426b9be192b3311bafa1ab76332.tar
isocheck-00ffd8d66da9a426b9be192b3311bafa1ab76332.tar.gz
isocheck-00ffd8d66da9a426b9be192b3311bafa1ab76332.tar.bz2
isocheck-00ffd8d66da9a426b9be192b3311bafa1ab76332.tar.xz
isocheck-00ffd8d66da9a426b9be192b3311bafa1ab76332.zip
- update README
- remove 'mono' as a dependance - remove the 'mono' test for 'autorun' as it was useless - update/fix some 'FIXME' - update DVD/CD test size with better values - update 'badwords' and 'temp files' check
Diffstat (limited to 't/000_test_env.t')
-rw-r--r--t/000_test_env.t4
1 files changed, 1 insertions, 3 deletions
diff --git a/t/000_test_env.t b/t/000_test_env.t
index 9484e5b..684efbf 100644
--- a/t/000_test_env.t
+++ b/t/000_test_env.t
@@ -8,14 +8,12 @@ bail_on_fail;
my ($image_path) = @ARGV;
-# FIXME why need to be root? for mounting the ISO only?
-# FIXME USER or USERNAME?
is($ENV{USERNAME}, 'root', "Current user is root.");
# TODO move this elsewhere maybe?
sub pkg_check { my ($pkg) = @_; return system("rpm -q $pkg >/dev/null"); }
-my @packages = qw(cdrkit cdrkit-isotools mono gnupg);
+my @packages = qw(cdrkit cdrkit-isotools gnupg);
foreach my $p (@packages) {
is(pkg_check($p), 0, sprintf("%s is installed.", $p));