Skip to content

Commit f12d513

Browse files
committed
Sleep longer, use sh instead of bash
1 parent c2c4dce commit f12d513

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tx/Dbasic.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use Test::More tests => 5;
44
use IPC::Run qw(start);
55

66
diag 'Starting tor2web';
7-
my $tor2web = start( [ '/bin/bash', 't/bin/tor2web',
7+
my $tor2web = start( [ '/bin/sh', 't/bin/tor2web',
88
'-c', 't/etc/conf/test.conf' ], undef, '>&2' );
99
diag 'Started tor2web';
1010

@@ -17,7 +17,7 @@ my $socket;
1717
diag "Connection attempt $ctr: $!"
1818
if ( $ctr != 0 );
1919
diag 'Paused';
20-
sleep( ( $ctr == 0 ) * 2 + $ctr );
20+
sleep( ( $ctr == 0 ) * 20 + $ctr );
2121
diag 'Resume starting connection';
2222
$socket = new IO::Socket::SSL(
2323
PeerHost => '127.0.0.1',

0 commit comments

Comments
 (0)