diff options
| author | Yumei Huang <yuhuang@redhat.com> | 2025-10-15 16:04:02 +0800 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2025-10-27 23:02:54 +0100 |
| commit | b2ccb6d4271b1fcecfa08892d1c57d81edc0f6c1 (patch) | |
| tree | 981bef1d6c3e391c8b83480251fae192a5bfd185 | |
| parent | 812a7c6ac9d447f26c15bac95d9437f2661bcf1d (diff) | |
| download | passt-b2ccb6d4271b1fcecfa08892d1c57d81edc0f6c1.tar passt-b2ccb6d4271b1fcecfa08892d1c57d81edc0f6c1.tar.gz passt-b2ccb6d4271b1fcecfa08892d1c57d81edc0f6c1.tar.bz2 passt-b2ccb6d4271b1fcecfa08892d1c57d81edc0f6c1.tar.lz passt-b2ccb6d4271b1fcecfa08892d1c57d81edc0f6c1.tar.xz passt-b2ccb6d4271b1fcecfa08892d1c57d81edc0f6c1.tar.zst passt-b2ccb6d4271b1fcecfa08892d1c57d81edc0f6c1.zip | |
test: Fix the escaping issue in memory/passt test
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>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
| -rw-r--r-- | test/memory/passt | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
