Skip to contentSkip to conversation

generic/270: replace pidwait to wait

PATCH In review Yong Sun 2 participants 2 messages Oct 31, 2025

lore
Share & tools
lore

Yong Sun

author
#0 lore raw

PATCH 1/1 generic/270: replace pidwait to wait

Some system without command pidwait run generic/270 will fail with "pidwait: command not found". Replace pidwait to wait could solve it.

---
 tests/generic/270 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/generic/270 +1 -1
index ce515920..c3d5127a 100755
@@ -51,7 +51,7 @@ _workout()
 	done
 
 	_pkill -PIPE -f fsstress
-	pidwait $_FSSTRESS_PID
+	wait $_FSSTRESS_PID
 	return 0
 }
 
Signature · 1 line
2.51.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Yong Sun

Some system without command pidwait run generic/270 will fail with "pidwait: command not found". Replace pidwait to wait could solve it.

--D

Quoted 21 lines
---
 tests/generic/270 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/generic/270 +1 -1
index ce515920..c3d5127a 100755
@@ -51,7 +51,7 @@ _workout()
 	done
 
 	_pkill -PIPE -f fsstress
-	pidwait $_FSSTRESS_PID
+	wait $_FSSTRESS_PID
 	return 0
 }
 
Signature · 1 line
2.51.0