From nobody Wed Apr 16 19:46:24 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 4ZdBNd1zgvz5t8n9; Wed, 16 Apr 2025 19:46:25 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZdBNc6VcFz3kmq; Wed, 16 Apr 2025 19:46:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1744832784; 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=MYArKwbCIHx4rUg3EtanmuCYCBOpJB2253DJPbbyuys=; b=TXQI+9hYXg+lF0EdXL0YPLDE6TxJ0wHbr6h/kpgzCSFRzCTIswfUfrjxiOnmwtStP2vvF2 uvTQ8Ym3Pl14pLSfnR7sTc9cK0WTBXd0yHzUKZdgM/VisXRK7w1I0apwrQGatrVzg8zWDD FMvFAi+7BDE+tkIWjTWJBFGXxY7KEo8T1NANNrqKeL1F9YJhy4+rJPFBOAPAvqxD67FMgk 4ofgh3g23cTvd/9vzKejwJYqWcqoa3AqCljB6Ot4KKsGI3Eh3cdd3bQM0WxZZGX1TkEHqJ HXftEBSUphzwjdF1Mb2+UofYs8MDg/1SAuhjEkXpPusEZhEAyvukQt2DRzUgDw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1744832784; a=rsa-sha256; cv=none; b=Ubl8a+sfW7r1nT5n/Ju5vOp3uEuYtOJFx/n/f1NXxS+njBPsoqHZU1vrwVdqynHjTN/jOn MKa/iV/ubaQ4KkPLMM9AO5S/l1R9iz3DTUjVWDPn1wfF4GCGGj24ZhC1Y0PRDftgkROvO1 IqBWCoXVkKnRMtqGCKDSy1lzxKTQqPRRieNwe8GUq9yIrggAWBFYAc8hFRcC5xIcX+b9oO hZ2gJnE+kF8/DMLpTmAFAggvA/FGPewS61kMq3yuAa1HKaPb79OPmyYDn55c6wNoXFy4ZP KuZivt17RqmwI/3hqrFoUZSl//TAq8k407F7Z49Dip28DgcVYICObd0t4yhl2Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1744832784; 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=MYArKwbCIHx4rUg3EtanmuCYCBOpJB2253DJPbbyuys=; b=qAlscHG4+JYlGHB8q3Qu+tJUggKhLujL5RXQRmbqISvQiK6gmNgRUiRjPZfxgnyHUuoqpM TZMHUxDzITjNUxo4kXKUg6ClRhB2lpt69FAeHgw0RbEmNFEPyOTblZhoCkx7QYrVWm8x+r jCeIECnLThcJljSb819cA6yBLzEVoFFrgLKPVRBan2XNDmhqw7qVtOvKkPnTUovDkkjha+ qzScDhFFeVqObkjGDdlH8EK+Ka310BzF4sQTJ3gzQC0OnWeamrBSW01GHOy+Alr82UTKLy G2QdZRPmVYWZ4U4t8l3ZVnh66jFBIAbVgtVKrripiyfiIEEFXbh80K0Jxoz4VQ== 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 4ZdBNc62gZz2JQ; Wed, 16 Apr 2025 19:46:24 +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 53GJkOwt063531; Wed, 16 Apr 2025 19:46:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 53GJkOl9063528; Wed, 16 Apr 2025 19:46:24 GMT (envelope-from git) Date: Wed, 16 Apr 2025 19:46:24 GMT Message-Id: <202504161946.53GJkOl9063528@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Baptiste Daroussin Subject: git: 672ee7eb800c - main - timeout(1): fix test after improvement of error messages 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: bapt X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 672ee7eb800c43a9e29c6e38e7e9927c40cb2477 Auto-Submitted: auto-generated The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/src/commit/?id=672ee7eb800c43a9e29c6e38e7e9927c40cb2477 commit 672ee7eb800c43a9e29c6e38e7e9927c40cb2477 Author: Baptiste Daroussin AuthorDate: 2025-04-16 19:26:00 +0000 Commit: Baptiste Daroussin CommitDate: 2025-04-16 19:45:37 +0000 timeout(1): fix test after improvement of error messages --- bin/timeout/tests/timeout_test.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/timeout/tests/timeout_test.sh b/bin/timeout/tests/timeout_test.sh index 2a8e0112b97c..d08f6c01e067 100644 --- a/bin/timeout/tests/timeout_test.sh +++ b/bin/timeout/tests/timeout_test.sh @@ -126,31 +126,31 @@ invalid_timeout_body() { atf_check \ -o empty \ - -e inline:"timeout: invalid duration\n" \ + -e inline:"timeout: duration is not a number\n" \ -s exit:125 \ timeout invalid sleep 0 atf_check \ -o empty \ - -e inline:"timeout: invalid duration\n" \ + -e inline:"timeout: duration is not a number\n" \ -s exit:125 \ timeout --kill-after=invalid 1 sleep 0 atf_check \ -o empty \ - -e inline:"timeout: invalid duration\n" \ + -e inline:"timeout: duration unit suffix invalid\n" \ -s exit:125 \ timeout 42D sleep 0 atf_check \ -o empty \ - -e inline:"timeout: invalid duration\n" \ + -e inline:"timeout: duration out of range\n" \ -s exit:125 \ timeout 999999999999999999999999999999999999999999999999999999999999d sleep 0 atf_check \ -o empty \ - -e inline:"timeout: invalid duration\n" \ + -e inline:"timeout: duration out of range\n" \ -s exit:125 \ timeout 2.34e+5d sleep 0 }