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=N80nwlWw; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by passt.top (Postfix) with ESMTPS id 786EB5A026F for ; Tue, 28 Oct 2025 01:09:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1761610175; 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: in-reply-to:in-reply-to:references:references; bh=n6akI2SBasJt1+foGLrDJ1s2Vx3q87T+W6lAG4PG1bI=; b=N80nwlWwRkeL/y8LYFxz0I7A/DNiQLJuy+eOUU/GQiZKEbKvZPnWqCIIfFdqTN5RYCOAEg TaoO4OsDHy/LAEDmTsw5C4SkNk8J8CP5zuJv08Jt7CZ26wLxuNS+dgrPr/sDNdWXicoj6O AsbOkwvicGnGJow0BGChgJXTKLfrCsY= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-37-gbl1lr6WM--IHkYfOWb-uA-1; Mon, 27 Oct 2025 20:09:33 -0400 X-MC-Unique: gbl1lr6WM--IHkYfOWb-uA-1 X-Mimecast-MFC-AGG-ID: gbl1lr6WM--IHkYfOWb-uA_1761610172 Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-4770dea2551so50178715e9.0 for ; Mon, 27 Oct 2025 17:09:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761610172; x=1762214972; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=n6akI2SBasJt1+foGLrDJ1s2Vx3q87T+W6lAG4PG1bI=; b=h8Y/MBBOT4XMCh75v7Suv0EVCL0AjPo72MZ82WDlyYHv8ta245CuV9vrWBsM+OlNE1 slHFOKWyxFBZWPT1IU36NT2h2Tm1NShnLltqa68GTiB2+hM5MPGNyTNs4b0gbhTluQxc T7y0wjPrBa2QD2pvOEx72tPnp0+5uYo0IKkMj033sdqMysh/almsMn8oUQJXIzFmt1s2 2XmkzBhkqC8O2h64sotLRtCdW3OS3c8ftNRqDPKkDSSYdhrHpmGOqK5HF0zJpPl9bzXM 7i+1WaAKhAMu4pnmwgVQ4uds21aGSo46HFimNFlxOde4/j9VzPn6M5JayZesrsNNMOCN /TLw== X-Gm-Message-State: AOJu0YwVpnS1kaS9JKxvs73SMGW9uVwz+XCvBh6rHXu/WIPX0No5iSjC egRf8jfNr5F44Tdpxv6unzvUrDLwQ2EIwJ1pCak+ECo6zPBGENhtXuHCumFqjYtaHyxGUBdIqQx WFlw9dvV05wLjEbTB7UEO84e4acQVckXhDP4/oCXxhCxYGnIPleFbzg== X-Gm-Gg: ASbGncssskLiN5wNUSE1YRxdF3YtOARXBxkGuDlhhaP3q5tHrJMVxhtCYiFc2IEq8nT 4MA5y3Sp3l31eLbSlo832L7iStAXkGryj/HaiFWNwrs6Dd5RUJqAaO/FUaC3EB/Tg1BdK1PuOSM +WkR9HnXqBYCUpUpP0aNqSBBSHbRvhCbziQZ1/GBTt9iE2OB7usjHimWZdfcqjtYpzcPGHpjKBg mxtpKsrPkz4Xewah0+tfgccQ3gYmfs31MKD9PyUy5NjqE9rslh2yLFdswV3G4/SzE/NNL1YzvMu uBLU+fKEbWD+sUcWJV+1ZtT3t8sRMMepkyi+WGUb+ae4N5PoqCqHs9kKgYuUolPuSpU7gE+YHTd jfR10glTFQw== X-Received: by 2002:a05:600c:4e8f:b0:471:1717:40f with SMTP id 5b1f17b1804b1-47717e41a42mr10661675e9.22.1761610172149; Mon, 27 Oct 2025 17:09:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG/gAUIHcAT9MLQ+W9Ny5QBoglv7XYVKR0TihP19bpPsLHy19z5oQrfbVAGHTTrqywEFjvdJw== X-Received: by 2002:a05:600c:4e8f:b0:471:1717:40f with SMTP id 5b1f17b1804b1-47717e41a42mr10661535e9.22.1761610171687; Mon, 27 Oct 2025 17:09:31 -0700 (PDT) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [2a10:fc81:a806:d6a9::1]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-429952e2e06sm16980655f8f.46.2025.10.27.17.09.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Oct 2025 17:09:31 -0700 (PDT) Date: Tue, 28 Oct 2025 01:09:29 +0100 From: Stefano Brivio To: Yumei Huang Subject: Re: [PATCH] test: Fix the escaping issue in memory/passt test Message-ID: <20251028010929.41b95678@elisabeth> In-Reply-To: <20251015080402.18822-1-yuhuang@redhat.com> References: <20251015080402.18822-1-yuhuang@redhat.com> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.49; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: oTlAn4Ff8OSnvm5NlknPpYrHykj3w5ZIpSJXMo4IXyw_1761610172 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: KO5H3GOCTRNMWD43MKCDN7WWW2HVBC6Q X-Message-ID-Hash: KO5H3GOCTRNMWD43MKCDN7WWW2HVBC6Q X-MailFrom: sbrivio@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: passt-dev@passt.top, david@gibson.dropbear.id.au 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: On Wed, 15 Oct 2025 16:04:02 +0800 Yumei Huang wrote: > 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 Applied. I tried to actually un-escape more stuff from the sed pattern (for example just 'sed s/\(.*...)/.../p') and sure I get problems with Bash but not the 'objsize' thing you're hitting, so I don't have another explanation. I'm fairly sure that one of those < > around objsize is taken as redirection by Bash, but I have no idea why. Whatever, as long as it's harmless, these test scripts are definitely not very clean/elegant... -- Stefano