From nobody Wed Jun 10 13:44:59 2026 X-Original-To: dev-commits-src-all@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 4gb6Tr3Mjvz6gR1h for ; Wed, 10 Jun 2026 13:45:04 +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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gb6Tr1Xsgz3MBG for ; Wed, 10 Jun 2026 13:45:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1781099104; 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=OO/J885mRLwDk1/M/YVRlpOcRnFgez+yTQnk8SGkK30=; b=s9HDPSHMjnCqgJ2vai8oBOu/FfEsbH47xmfo/ujrp4n1Z3tibyqiZbUN11VtnLQ1XT1hAu Vb3TUQ5jtgEe/1+lhJFUatSJ3njMhEZDuFKo66CJrWeLHfQO8I1wrK/TKkpAcMVKtpv/rj cEDWf9OoYWo6R4MfXxM52c7pdBdpQ5n8JG7YUVwf7Sb1qnim7btqbLFB1AUVR2fOFxyiFZ rbSTr9bxnwgtd+BqaslR+YTuxVZGjUyso0FcqtfYW/poD5z8/v9E+Uda66zc6fNmF+4hA2 V8sRJnvBpa5oVRtsscsS11scXiwL9C+lYqwPri7K2JEXl7RtHnSi5yMltw8ILQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1781099104; a=rsa-sha256; cv=none; b=FftaeLbTaiqjm4pjHfC+Jvwhxy/WK+Se2OA/C5QRCAhzg+TgJCVwlkKnp6X26RnOXKPvzt 1KGZseYOM4eVLGokvc2r04GQN8vqFkCboVlzd3U43JjzyJH7/j8j/WA23QVLSVXvVLyP8u eKKy5ybxV9OoGUdgYQxLulNvAhjgTJr/bPHWdIMbntBo4rKoWaQCosN/laeR7fbaz2H77D IClO7IZ0kva4CKXhpjcvxdCSfidJ+PjKK/RerVO0+rN0PzKp+uoIn3YO8U9b6klRCEAbyC Fl6sibkH9E5GLM3RpLNqb7rz+pfALc8uTo1I2+lYKmNTGsXHFUroCVrmHbBDMg== 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=1781099104; 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=OO/J885mRLwDk1/M/YVRlpOcRnFgez+yTQnk8SGkK30=; b=AEdE1L+4lycMYc25y4H1rW7IeoBLPK9NaevL3//sqyoW5zYW/5syi9+Z+QYgVqRhU2yziZ ZLEYzjFa7n3XtMZcJK+rYv7fV94PjQv6Dhhms6/l8E/EsY9zNDe3Dfwy3LOK8BKELvA4OL 8kTakik1JnmFPKoLn0LIMiy8sJWiffJ5CY7tqh5sT+pMMNxMaXQ3t1UpM2JofNu9I3FMRM w4DDKJfo0zvr9JqX45Z04RIxxjPK4fpYoVnIW0lgX9r+3ZIcHz15KZiNpd/Y1zJD5xCbmj KJgJAbCFrM/yBmdyh7w9PJlWtZi310Fa8RD9EQDN7iD+xl0lcaGjPAufB++p9w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gb6Tr110Zz1LvH for ; Wed, 10 Jun 2026 13:45:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1e00b by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 10 Jun 2026 13:44:59 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: 88534471b32c - stable/15 - xinstall: Add test for -d -s not allowed together List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 88534471b32cb7f57bafac2d215c05d5e7dabda0 Auto-Submitted: auto-generated Date: Wed, 10 Jun 2026 13:44:59 +0000 Message-Id: <6a296a5b.1e00b.5071d72d@gitrepo.freebsd.org> The branch stable/15 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=88534471b32cb7f57bafac2d215c05d5e7dabda0 commit 88534471b32cb7f57bafac2d215c05d5e7dabda0 Author: Ed Maste AuthorDate: 2026-06-03 14:13:45 +0000 Commit: Ed Maste CommitDate: 2026-06-10 13:43:59 +0000 xinstall: Add test for -d -s not allowed together Reviewed by: des Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D57403 (cherry picked from commit 4908bea5b7f5de70032e201e718958ef40bc3b03) --- usr.bin/xinstall/tests/install_test.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/usr.bin/xinstall/tests/install_test.sh b/usr.bin/xinstall/tests/install_test.sh index 3cea648aa805..6b091f26b377 100755 --- a/usr.bin/xinstall/tests/install_test.sh +++ b/usr.bin/xinstall/tests/install_test.sh @@ -25,6 +25,12 @@ # # +atf_test_case incompatible_opts +incompatible_opts_body() { + atf_check -s not-exit:0 -e match:"specified together" \ + install -s -d dir1 +} + atf_test_case copy_to_empty copy_to_empty_body() { printf 'test\n123\r456\r\n789\0z' >testf @@ -549,6 +555,7 @@ digest_body() { } atf_init_test_cases() { + atf_add_test_case incompatible_opts atf_add_test_case copy_to_empty atf_add_test_case copy_to_nonexistent atf_add_test_case copy_to_nonexistent_dir