From 69aef3521c66dbd1a3c54058672f0e9e64ea8b44 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 6 May 2020 15:00:56 +0200 Subject: Simplify by not using at command --- t/24-wait-for-mounted.t | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 't/24-wait-for-mounted.t') 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; -- cgit v1.2.1