diff --git a/testsuite/config/unix.exp b/testsuite/config/unix.exp index 2a72c074..700c38ee 100644 --- a/testsuite/config/unix.exp +++ b/testsuite/config/unix.exp @@ -117,7 +117,7 @@ proc make_testproc { } { set sleep_time 300 set testproc_path [ exec mktemp -u ] - set sleep_path [ exec which sleep ] + set sleep_path [ exec sh -c "command -v sleep" ] exec ln -s $sleep_path $testproc_path set testproc_comm [ exec basename $testproc_path ]