diff options
Diffstat (limited to 't/24-wait-for-mounted.t')
-rw-r--r-- | t/24-wait-for-mounted.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/24-wait-for-mounted.t b/t/24-wait-for-mounted.t index ef6f006..634ca99 100644 --- a/t/24-wait-for-mounted.t +++ b/t/24-wait-for-mounted.t @@ -23,7 +23,8 @@ my $fake_device = create_fake_media(3); if (!$auto_mounted) { my $tmp_dir = tempdir(CLEANUP => 1); - system("echo 'sleep 4; mount /dev/$fake_device $tmp_dir' | at -M now >& /dev/null"); + my $at = get_at_command(); + system("echo 'sleep 4; mount /dev/$fake_device $tmp_dir' | $at >& /dev/null"); } my $cdroms = Hal::Cdroms->new; |