From nobody Thu May 8 13:10:47 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ZtXYz5BWmz5wJcx; Thu, 08 May 2025 13:10:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZtXYz2hHBz3LmJ; Thu, 08 May 2025 13:10:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1746709847; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3NmavDkgiNBVu1I0EMzGMIDp3bZYIeocXDvwz3XNEZE=; b=xc4KlKcVxyS1FkhgDDoJYwubuV87h6Kk/S9N7dcq50XB+1PhRIYexeJIUEVyKcv8D4Ihir N+6Hlr5iMdpyb3UumwvGFSjzXQhi+ocohKzG5N3pvDXn1BYQnoj2sk40GLtvN/AYstj8sS mgNxFiPWFNHUwpbvR4pSYFl28x+CCcW81So0KFFsK3KKRf8HjppdLvys42Z/N8MLLcQqOc 5hzG2UPW0ULlCU/J/RuLz3IEu5j+2Nl4SiBshMOs8mXqDOpZM+PLJPIYfA/Ltu9L3xIXQo hCdBg+/V6krKT1peIyQDLgDZGVnYyq5ndkhzQ1NQewyk2F685o5qhOd5mXvhoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1746709847; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3NmavDkgiNBVu1I0EMzGMIDp3bZYIeocXDvwz3XNEZE=; b=pyZGbDrXfPD0eW9/pdCKZ/bJeacvtdJz3jdU2H56UAs9wYmGLoto4cfUBTsFOb1ues8lN3 vpYFSRLoD9/08Xe4NP7jri2jDFgW7BpmQiMsUH763WKoXsejL7upM4opO3Z1nybfmznSDO 7TAd2cH5RuWgUR8SPaAOkXIK6J2r3KBXXkKigY7aRLs8mtP/hO/enmiP+t4ZJeEIAu7P45 B4UI1e8vr3GP7JNM26NYfcmUeKrxj1knRoTvN0BTOkO9+fwIqFhL+UQcGVAQUdbbXwGgom uQ4B8KDKWgk+q7zb6F1iAw5RSVjYYwzNaznFHCqstShS3AVxyjdXyZE1PxBxiw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1746709847; a=rsa-sha256; cv=none; b=QdPbjSjwbSj25Wv64EORcCmhT1DifYIRUq0l8mqqOGgKMojOg9t1wZEm6IE4Fc+Flt4c3/ e1SfoapZFDEHtqEtzor7POy+Qib2mJy+I8wyPACY6YGxTAqbvempCuZdiZT0XuqctG2+4R VZgn3KfNq5U6hwC3GUsMdk15MUymny6oKUNr9OXjtEP/sHJPfDI//g5PE5Zzp3QFIyJPoB n15L1eXwQKqfH6rYq9548gabuSEnRHSBQw+dC14gb/cs95RHAGQ8d8fN2BvFsvpIvdBxZH U4G2QLdYRv84aHAafmlLTrga6NzwTZyCCFzUj2/l1dXf1OC1SBytf+QmdC0YeQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ZtXYz1Y6cz1m1; Thu, 08 May 2025 13:10:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 548DAlHn047275; Thu, 8 May 2025 13:10:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 548DAlTt047272; Thu, 8 May 2025 13:10:47 GMT (envelope-from git) Date: Thu, 8 May 2025 13:10:47 GMT Message-Id: <202505081310.548DAlTt047272@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kristof Provost Subject: git: 6ae89b2f152f - main - aft_python: fix incorrect ndp use List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6ae89b2f152f9770646bdd66e53df702b99eb0ad Auto-Submitted: auto-generated The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=6ae89b2f152f9770646bdd66e53df702b99eb0ad commit 6ae89b2f152f9770646bdd66e53df702b99eb0ad Author: Kristof Provost AuthorDate: 2025-05-07 15:29:17 +0000 Commit: Kristof Provost CommitDate: 2025-05-08 13:10:26 +0000 aft_python: fix incorrect ndp use If we want to clear a flag we have to include '--' before the flag we clear, otherwise ndp will misparse our command (the getopt call will interpret it as another option, and reject it). This caused spurious errors at the end of every atf_python test case such as: ============================== 1 passed in 7.26s =============================== usage: ndp [-nt] hostname ndp [-nt] -a | -c | -p | -r | -H | -P | -R ndp [-nt] -A wait ndp [-nt] -d hostname ndp [-nt] -f filename ndp [-nt] -i interface [flags...] ndp [-nt] -I [interface|delete] ndp [-nt] -s nodename etheraddr [temp] [proxy] Sponsored by: Rubicon Communications, LLC ("Netgate") --- tests/atf_python/sys/net/vnet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/atf_python/sys/net/vnet.py b/tests/atf_python/sys/net/vnet.py index 6da5f2625990..68c8ce4e0cba 100644 --- a/tests/atf_python/sys/net/vnet.py +++ b/tests/atf_python/sys/net/vnet.py @@ -134,7 +134,7 @@ class VnetInterface(object): self.run_cmd(cmd) def enable_ipv6(self): - cmd = "/usr/sbin/ndp -i {} -disabled".format(self.name) + cmd = "/usr/sbin/ndp -i {} -- -disabled".format(self.name) self.run_cmd(cmd) def has_tentative(self) -> bool: