]> sourceware.org Git - systemtap.git/commitdiff
Fix timing issue causing failures of testcase auto_path.exp
authorMartin Cermak <mcermak@redhat.com>
Tue, 7 Nov 2023 11:04:16 +0000 (12:04 +0100)
committerMartin Cermak <mcermak@redhat.com>
Tue, 7 Nov 2023 11:05:46 +0000 (12:05 +0100)
testsuite/systemtap.base/auto_path.exp

index 93331d396045ddb6b121aa123a083954225331dd..2695c8f2f38728786627f6b0c9f87b4602d093fa 100644 (file)
@@ -28,6 +28,7 @@ spawn stap -I $include_root -e {probe begin {println("begin")} probe ap1.process
 expect {
   -timeout 120
   -re "^begin\r\n$" {
+    sleep 1
     exec ${cmd_dir}/a/ap1
       expect {
         -timeout 10
@@ -43,6 +44,7 @@ spawn stap -I $include_root -e {probe begin {println("begin")} probe ap2 {printl
 expect {
   -timeout 120
   -re "^begin\r\n$" {
+    sleep 1
     exec ${cmd_dir}/a/b/ap2
     expect {
       -timeout 10
@@ -58,6 +60,7 @@ spawn stap -I $include_root -e {probe begin {println("begin")} probe ap3 {printl
 expect {
   -timeout 120
   -re "^begin\r\n$" {
+    sleep 1
     exec ${cmd_dir}/b/ap3
     expect {
         -timeout 10
This page took 0.029339 seconds and 5 git commands to generate.