From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: passt.top; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=PE+fa0Tl; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by passt.top (Postfix) with ESMTPS id 494025A026F for ; Wed, 15 Oct 2025 10:04:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1760515452; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MfXK2GP+S/7hCTUH4XTLGkuCRFUYV5fzWOKjX5sVqwU=; b=PE+fa0TlWFs0lMcY7/F1nCmoXr8mSvp7T4W31o8/5TCHOqjqnwLuKU0A1oVAIpyL/wcJLQ ruQIP1fpyEQkgL5T6QK4nnGMkC3amOvPPfrV4AVOcYpZgjUng5wBairgFAULLVLulri45e qTaioJhcnnqarg/PEdO2dg2m2cOKZdE= Received: from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-658-asQYpkyQPF6U8VNQQCUIIg-1; Wed, 15 Oct 2025 04:04:10 -0400 X-MC-Unique: asQYpkyQPF6U8VNQQCUIIg-1 X-Mimecast-MFC-AGG-ID: asQYpkyQPF6U8VNQQCUIIg_1760515450 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 0AEAC1954200; Wed, 15 Oct 2025 08:04:09 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.72.112.78]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 088041955BE3; Wed, 15 Oct 2025 08:04:05 +0000 (UTC) From: Yumei Huang To: passt-dev@passt.top, sbrivio@redhat.com Subject: [PATCH] test: Fix the escaping issue in memory/passt test Date: Wed, 15 Oct 2025 16:04:02 +0800 Message-ID: <20251015080402.18822-1-yuhuang@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: 01gEHi29IzBbsQ-olhdBK02Q8f-Cynv8Gv7qsHYYUv0_1760515450 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit content-type: text/plain; charset="US-ASCII"; x-default=true Message-ID-Hash: 6XK7NPEGMI4S5VVSYHV6NLTSAXA2YWFK X-Message-ID-Hash: 6XK7NPEGMI4S5VVSYHV6NLTSAXA2YWFK X-MailFrom: yuhuang@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: david@gibson.dropbear.id.au, yuhuang@redhat.com X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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 --- 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/\(.*\).*$/\1/p' | tail -1; (diff -y --suppress-common-lines /tmp/slabinfo.before /tmp/slabinfo.after | sort -grk8) +guest sed /proc/slabinfo -ne 's/\(.*\).*$/\\\1/p' | tail -1; (diff -y --suppress-common-lines /tmp/slabinfo.before /tmp/slabinfo.after | sort -grk8) endef def summary -- 2.47.0