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