public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH] test: Fix the escaping issue in memory/passt test
@ 2025-10-15  8:04 Yumei Huang
  2025-10-16  1:05 ` David Gibson
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Yumei Huang @ 2025-10-15  8:04 UTC (permalink / raw)
  To: passt-dev, sbrivio; +Cc: david, yuhuang

Test memory/passt failed with error "objsize: No such file or
directory" because of an escaping issue. Fix it.

Link: https://bugs.passt.top/show_bug.cgi?id=155
Signed-off-by: Yumei Huang <yuhuang@redhat.com>
---
 test/memory/passt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/memory/passt b/test/memory/passt
index 7e45724..c5142ea 100644
--- a/test/memory/passt
+++ b/test/memory/passt
@@ -51,7 +51,7 @@ guest	sed /proc/slabinfo -ne 's/^\([^ ]* *[^ ]* *[^ ]* *[^ ]*\).*/\\\1/p' > /tmp
 guest	kill \$(cat /tmp/pid)
 guest	diff -y --suppress-common-lines /tmp/meminfo.before /tmp/meminfo.after || :
 guest	nm -td -Sr --size-sort -P /bin/passt.avx2 | head -30 | tee /tmp/nm.size
-guest	sed /proc/slabinfo -ne 's/\(.*<objsize>\).*$/\1/p' | tail -1; (diff -y --suppress-common-lines /tmp/slabinfo.before /tmp/slabinfo.after | sort -grk8)
+guest	sed /proc/slabinfo -ne 's/\(.*<objsize>\).*$/\\\1/p' | tail -1; (diff -y --suppress-common-lines /tmp/slabinfo.before /tmp/slabinfo.after | sort -grk8)
 endef
 
 def	summary
-- 
2.47.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-10-28  0:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-15  8:04 [PATCH] test: Fix the escaping issue in memory/passt test Yumei Huang
2025-10-16  1:05 ` David Gibson
2025-10-21 21:51 ` Stefano Brivio
2025-10-22  3:37   ` Yumei Huang
2025-10-28  0:09 ` Stefano Brivio

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).