aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/helper.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/helper.pm b/t/helper.pm
index 10331a1..bcb72e0 100644
--- a/t/helper.pm
+++ b/t/helper.pm
@@ -1,11 +1,12 @@
package helper;
use strict;
+use Config;
use base 'Exporter';
our @EXPORT = qw(can_create_fake_media create_fake_media find_mount_point get_at_command remove_fake_media );
sub get_at_command() {
- 'at -M now';
+ $Config{myuname} =~ /linux/i ? 'at -M now' : 'at now';
}
sub can_create_fake_media() {