summary refs log tree commit diff stats
path: root/tests/async
diff options
context:
space:
mode:
Diffstat (limited to 'tests/async')
-rw-r--r--tests/async/tioselectors.nim4
-rw-r--r--tests/async/tupcoming_async.nim2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/async/tioselectors.nim b/tests/async/tioselectors.nim
index a556b6dd2..7a8986644 100644
--- a/tests/async/tioselectors.nim
+++ b/tests/async/tioselectors.nim
@@ -163,9 +163,9 @@ elif not defined(windows):
 
     proc process_notification_test(): bool =
       var selector = newSelector[int]()
-      var process2 = startProcess("/bin/sleep", "", ["2"], nil,
+      var process2 = startProcess("sleep", "", ["2"], nil,
                            {poStdErrToStdOut, poUsePath})
-      discard startProcess("/bin/sleep", "", ["1"], nil,
+      discard startProcess("sleep", "", ["1"], nil,
                            {poStdErrToStdOut, poUsePath})
 
       selector.registerProcess(process2.processID, 0)
diff --git a/tests/async/tupcoming_async.nim b/tests/async/tupcoming_async.nim
index e3170620e..0a334709d 100644
--- a/tests/async/tupcoming_async.nim
+++ b/tests/async/tupcoming_async.nim
@@ -100,7 +100,7 @@ when defined(upcoming):
                                    {poStdErrToStdOut, poUsePath, poInteractive,
                                    poDemon})
       else:
-        var process = startProcess("/bin/sleep", "", ["1"], nil,
+        var process = startProcess("sleep", "", ["1"], nil,
                                    {poStdErrToStdOut, poUsePath})
       var fut = waitProcess(process)
       waitFor(fut or waitTimer(2000))