pr30700
authorMatthias Klose <doko@debian.org>
Wed, 11 Oct 2023 01:40:20 +0000 (02:40 +0100)
committerMatthias Klose <doko@debian.org>
Wed, 11 Oct 2023 01:40:20 +0000 (02:40 +0100)
Gbp-Pq: Name pr30700.diff

gprofng/testsuite/gprofng.display/gp-collect-app_F.exp

index f791b0f7a950d21e4e2b5e97cc280549bfc76c37..02bcc8e5b494d0104c8e494b65c4c8d4a1b6369c 100644 (file)
@@ -46,11 +46,11 @@ proc run_gp_collect_app { subExpCnt F_opt } {
     return -code break
   }
 
-  set output [run_native_host_cmd "find $tdir -name '*x1.er' | wc -l"]
+  set output [run_native_host_cmd "find $tdir -name '*_x?.er' | wc -l"]
   set subExp [lindex $output 1]
   if { $subExp != $subExpCnt } then {
     set out [lindex $output 1]
-    send_log "Test failed for -F $F_opt. subExp=$subExp. Shold be $subExpCnt\n"
+    send_log "Test failed for -F $F_opt. subExp=$subExp. Should be $subExpCnt\n"
     fail $tdir
     return -code break
   }