[tests] List files from the repo intead of / for process-stress-3.cs
authorLudovic Henry <ludovic@xamarin.com>
Wed, 17 Feb 2016 15:46:21 +0000 (15:46 +0000)
committerLudovic Henry <ludovic@xamarin.com>
Wed, 17 Feb 2016 15:48:35 +0000 (15:48 +0000)
On some machines, slow remote devices can be attached, leading to very slow find commands, leading to timeouts.

mono/tests/process-stress-3.cs

index 7b45a3e432686b0c744a20d5d345e23dc3e7ccc7..41d540ae1cd59195c75af64e68073d73c14a290d 100644 (file)
@@ -16,7 +16,7 @@ class Driver
 
                ProcessStartInfo psi = new ProcessStartInfo () {
                        FileName = "find",
-                       Arguments = "/ -maxdepth 4",
+                       Arguments = "../.. -maxdepth 3", // this test should be run from mono/tests, so that will list all files in the repo
                        UseShellExecute = false,
                        RedirectStandardOutput = true,
                        RedirectStandardError = true,