From unknown Thu Jun 19 16:21:13 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#74503 <74503@debbugs.gnu.org> To: bug#74503 <74503@debbugs.gnu.org> Subject: Status: Test issues in "make check" Reply-To: bug#74503 <74503@debbugs.gnu.org> Date: Thu, 19 Jun 2025 23:21:13 +0000 retitle 74503 Test issues in "make check" reassign 74503 coreutils submitter 74503 Gordon Steemson severity 74503 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 24 00:35:05 2024 Received: (at submit) by debbugs.gnu.org; 24 Nov 2024 05:35:05 +0000 Received: from localhost ([127.0.0.1]:60361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tF5Gz-0005d6-8Z for submit@debbugs.gnu.org; Sun, 24 Nov 2024 00:35:05 -0500 Received: from lists.gnu.org ([209.51.188.17]:60384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tF5Gx-0005cs-E1 for submit@debbugs.gnu.org; Sun, 24 Nov 2024 00:35:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tF5Gw-0005Ru-VJ for bug-coreutils@gnu.org; Sun, 24 Nov 2024 00:35:03 -0500 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tF5Gv-00042q-ED for bug-coreutils@gnu.org; Sun, 24 Nov 2024 00:35:02 -0500 Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-724f383c5bfso723189b3a.1 for ; Sat, 23 Nov 2024 21:35:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732426499; x=1733031299; darn=gnu.org; h=to:message-id:subject:date:mime-version:from :content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=6Bh7bCT6PeZ5KfbCHboyKaWZr9VE0unwRDkrwyzkKiU=; b=I4PNknOfBiXMbqazInEAVZe4aQ4tu3/BI5Vbto+TpDZfq3geUN0aKs7f8R6CBCS9PH pipxctU8SmU2O24qh95Cr2gviErBPDGbDO+Kejo51Ae7WRUCqA/kFszF4HnFYfs6pX8J Rp1ipnz0FMvKTyfecEpLcDwdJbSufyaRBlgOO4POWacQhXRQY7vIGpH6/yMkql7RItZe kKsrrBBgyV3kjEwAVwdBtzJSgla5RQjvRiDlUPXsQ+vHKcqRi6j7EuODiJTI4TUpuPCT USNAi1JmoZ3ufZmLN2SRenlEkyw2aI13tjJr1SQBSymkncRSf5bmlgp+MPMzt+u0GrUS 2Ifw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732426499; x=1733031299; h=to:message-id:subject:date:mime-version:from :content-transfer-encoding:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=6Bh7bCT6PeZ5KfbCHboyKaWZr9VE0unwRDkrwyzkKiU=; b=DfZHCBSqg5JygRSIFkE531AIMxiVkbOJ7BYvQQ1JhRrodg0s4KAF60bJh695uUKZ2F KtG5IBTysUH158CKsKs8NJf+QbXchcPKt606YE6OQKPEWvBTbT4ErPV58uUEcszU3/Dw bDOXtkpp4btZeJHDeDWjmBJp6DryeaZ5NgtkPwzdIli5XrNL3Xa2QxEhjixkg4CcxAy1 cCAiuaYSASNTAixi/0alsClR0f5zyadd7yDwEBW2BZUkVJ+kKcL/zkZo4D4V8rbVAQNt hLqjPHnI6f4tO5An0VBoQigkRQUNxPpo0/FZJpb5ZVLjAdNNlkPpy8H1cHKA0Aej8Iht QHlg== X-Gm-Message-State: AOJu0YyQHD7OSw4WoctqPl134z5qJfE10LrcibVslzYtB9PHtirODOB5 cToq50oTJhk61jnRjb+bF3sI0gJakUlqdfrgCHrnR30W6eZaXQ5pP5bWBw== X-Gm-Gg: ASbGncsHQzIFAWt7ulAezZki4S+laMKzTgd+m75GmqVdyhYBxj+HqHHxmBmWoOZghh3 bl0MuaIkzQXvcDhXr3aUrSZqpvFLjtuSY2HJIBKa3XrS5t7Iq70fWGknW7YHsDdTvBuJ+ypTti2 6wOh7FgMg5FRzFDssfyL4BhoXAuGbIO1QOZEcTGTDiZ5KR9cMlHuWZzwUtuzFaACrWFAImWBSHi 4oWN5xFtBisoxa6L4BOH8GwtECHmjFCBU1i5+/prT6Rz39/WCc90dlrPynWedNnq3pyALZ2+3Q= X-Google-Smtp-Source: AGHT+IFlvR8IBmsdAd7NOJOMIM+0rWw38AMx4kZ/Bn/uGS6S5RyYuyWMczv6x/kv78MSWUcxUmGueg== X-Received: by 2002:a05:6a00:a8f:b0:71e:5b4a:66d4 with SMTP id d2e1a72fcca58-724df5d3562mr11660144b3a.9.1732426499383; Sat, 23 Nov 2024 21:34:59 -0800 (PST) Received: from smtpclient.apple ([2607:fb91:1ee6:116:e11d:17b8:8558:a3e4]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7fbcc3de183sm3571499a12.56.2024.11.23.21.34.58 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 23 Nov 2024 21:34:59 -0800 (PST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Gordon Steemson Mime-Version: 1.0 (1.0) Date: Sat, 23 Nov 2024 21:34:47 -0800 Subject: Test issues in "make check" Message-Id: <6C416690-0F2E-4D8F-9FE0-E27BF5826590@gmail.com> To: bug-coreutils@gnu.org X-Mailer: iPhone Mail (22A3370) Received-SPF: pass client-ip=2607:f8b0:4864:20::42a; envelope-from=gsteemso@gmail.com; helo=mail-pf1-x42a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Setup: Coreutils package, v. 9.5; Power Mac G5 running OS 10.5.8 (Darwin 9.= 8.0). When running `make check`, I noticed the following two problems. - tests/ls/dired.sh can=E2=80=99t cope with the underlying file system steal= thily applying normalization to the Unicode encoding, so I was presented wit= h a failed test and an error message complaining that =E2=80=9C2=C3=A1 !=3D 2= =C3=A1=E2=80=9D. - tests/misc/tee.sh seems to be missing a pipe. Without adding =E2=80=9C |=E2= =80=9D to the end of line 99, the test freezes solid because it waits foreve= r for input that will never come. I'm baffled that it works for anyone else= ... perhaps some bizarre quirk of shell syntax causes the output of one line= to automagically become the input of the next, if conditions are correct? T= he mechanism by which it is somehow accidentally working for other people is= beyond my knowledge of shell scripting. It seems to be working other than these. Several of the tests do deem thems= elves inapplicable for reasons that don't appear to match reality, such as t= ests/csplit/csplit-heap.sh believing that `ulimit -v` is absent when it is p= resent; but as those are not actual test _failures_, I am disinclined to spe= nd time digging into them unless someone specifically asks me to. Gordon Steemson= From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 24 03:35:07 2024 Received: (at 74503) by debbugs.gnu.org; 24 Nov 2024 08:35:07 +0000 Received: from localhost ([127.0.0.1]:32781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tF85C-0006ed-Gz for submit@debbugs.gnu.org; Sun, 24 Nov 2024 03:35:07 -0500 Received: from mout.kundenserver.de ([212.227.126.131]:55157) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tF858-0006bV-Vy for 74503@debbugs.gnu.org; Sun, 24 Nov 2024 03:35:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bernhard-voelker.de; s=s1-ionos; t=1732437294; x=1733042094; i=mail@bernhard-voelker.de; bh=OmEo2e7KpLg6L0snPGeJfYine/XzR7lY4Y2zNeWjFt0=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=MZ3T0/OpfQwRDG71iQbnQSyN/FMmgdHfTt5m3vCjjqL6X3FK4rhY/TJl7VCVkDOQ i7Y9f/9d9kFMMO4fOZKWG3ZQEuPVVk6xC+aIn4NtbBdKJIhUMviHGFe/GzYxdxgk5 MQEX/LQUdg3OyY95S9aF5aczKuC02ZGZt6pXCMdmNVyCoKBuDqWjx9MVZYdkWRjpz jw4Np53F2rytECKbwFS2VndX9NcK9HopXqz/7hhXSZNbpSFWDm+MPF0fWm1b8AwWj xDSZOSJhuftQVrkBj++zhGQAm6qAAgAjXm78skPQ+4CcZk78779LFLFvEk1xOOOUZ 3kbtaiFbvujWKaDnag== X-UI-Sender-Class: 55c96926-9e95-11ee-ae09-1f7a4046a0f6 Received: from [192.168.101.10] ([91.1.223.69]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MrhLw-1u2T3S1Tsq-00eN0l; Sun, 24 Nov 2024 09:34:54 +0100 Message-ID: <1be1ab36-7885-4dd7-82eb-651526f09d74@bernhard-voelker.de> Date: Sun, 24 Nov 2024 09:34:53 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#74503: Test issues in "make check" To: Gordon Steemson , 74503@debbugs.gnu.org References: <6C416690-0F2E-4D8F-9FE0-E27BF5826590@gmail.com> Content-Language: en-US From: Bernhard Voelker In-Reply-To: <6C416690-0F2E-4D8F-9FE0-E27BF5826590@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:Wa2d2JxLRZsinPJZzdTao8Sd/6of5BcD9g4IQD/IlzRuipI2HiK K2SonXV81aFOkNQJyH7d+EqDPIC8CfcJjmcZ625Eiw1Ha7x7v1zQBHDqfagV/BprIMaBgYN 67pDHtwnCy2rgMVUcPB/YNem9MGTp8QgkJgQ9+cQCGNzpnmxntWDLVm6ljEPvFPKZzkxzRO hYU9+lCBPCmBoTgOzeVeg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:nheuX5wujVM=;SWT8nzbXr3ghF2+VkUTbLPvGzL7 oxc98B5sXLjxBP7P1EuisP1Y8YM8jdZ0dldqw9328w1+wsWKRpaRENLte/IM1m1hWElzgS8if f97HfqKg6mB1LY9HRhO5mogET2Z3KPkbJl9Pgex7p0R6NQnB6ftqgUK+VtaDUvmTY9vJHGLM2 PTgLfXzzwqFDmin8hAw0dwr5hJF6AL3pSK5NG3WPbKtRK217OHhGxymEEz6SrRFFTL7H25BM2 qzbdwl2eDZBxoNao6vR4t9HQXYeRhrhST7Topg3+anpjgVZrSn5u3f5ElOJxR1fRT/6PMXneb LSoOO9QUwmVbGv3QfJ0nF5xn5Js2fIZMuCEEwuznGI2W7HZh86EPp0KUWzJyd3e283Vie65KG os5nxnbCUfWL2zjaWpzYR1FEK2agp2kHht6N2wxPUQ2iKXdLg41hi3O4RFOvp2w7+Cke0kB5a ET12qc+4Rmc5XLWZAJr+OSpFaGG+n34LsBamg7RxTrEcbsWXQ7KTqulGxi50BTZlR3Bq3wuVQ IZd+lT1RUeUBMUe+RziGeJR2iWAVwd8mWCNodsHobC+046azikNsH73juHjEEFoT7t75j2ITW /i8UXAKPpaE/7rViBlIr8iWiautvFt+LubF9OGq/TVjgQSFOXWl8hwFQY83Qu+mRhThsZIWcW bqRBg3qAJ5v0EmyR1HBy/tjgfRf9xyouFSJuIaqx4Z1uXtmdEGOSuTC9NQ4bcCXeA9NIC7znR 8tKMmZzE2FeMyaGuFkio1qUXXpFaHdvQONUOsHIWwlzhKlojllY+u63TFSTV+m+UDTHzWyCWq e/EUHOMDPSs8crGHKvT2NVB4af2Cy9YyjBB+3kuuGxeSs= X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74503 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 11/24/24 06:34, Gordon Steemson wrote: > Setup: Coreutils package, v. 9.5; Power Mac G5 running OS 10.5.8 (Darwi= n 9.8.0). > > When running `make check`, I noticed the following two problems. > > - tests/ls/dired.sh can=E2=80=99t cope with the underlying file system s= tealthily applying normalization to the Unicode encoding, so I was present= ed with a failed test and an error message complaining that =E2=80=9C2=C3= =A1 !=3D 2=C3=A1=E2=80=9D. > > - tests/misc/tee.sh seems to be missing a pipe. Without adding =E2=80= =9C |=E2=80=9D to the end of line 99, the test freezes solid because it wa= its forever for input that will never come. I'm baffled that it works for= anyone else... perhaps some bizarre quirk of shell syntax causes the outp= ut of one line to automagically become the input of the next, if condition= s are correct? The mechanism by which it is somehow accidentally working = for other people is beyond my knowledge of shell scripting. 97 dd count=3D20 bs=3D100K if=3D/dev/zero status=3Dnone | 98 { 99 dd count=3D0 oflag=3Dnonblock status=3Dnone 100 tee || { cleanup_; touch tee.fail; } 101 } >fifo Both commands between the { ... }, i.e., dd(1) on line 99 and tee(1), are consuming the input from the dd(1) command on line 97. > It seems to be working other than these. Several of the tests do deem t= hemselves inapplicable for reasons that don't appear to match reality, suc= h as tests/csplit/csplit-heap.sh believing that `ulimit -v` is absent when= it is present; but as those are not actual test _failures_, I am disincli= ned to spend time digging into them unless someone specifically asks me to= . > > Gordon Steemson Thanks for the reports, but please also provide the original testsuite.log= as 'make check' instructs at the end of the output. We need it to analyze fu= rther. Have a nice day, Berny From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 24 08:11:08 2024 Received: (at 74503) by debbugs.gnu.org; 24 Nov 2024 13:11:09 +0000 Received: from localhost ([127.0.0.1]:33224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFCOK-0002kB-GV for submit@debbugs.gnu.org; Sun, 24 Nov 2024 08:11:08 -0500 Received: from mail-wr1-f51.google.com ([209.85.221.51]:42092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFCOH-0002jg-0j for 74503@debbugs.gnu.org; Sun, 24 Nov 2024 08:11:07 -0500 Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-382411ea5eeso1962111f8f.0 for <74503@debbugs.gnu.org>; Sun, 24 Nov 2024 05:11:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732453799; x=1733058599; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=5kzUN8yvlBrI4zEzoRHga48vqMgOe3POHP7Hc9Rro5o=; b=NaTOdcFIM58c/Ya1Rq3B5Kti0Ct+c6CzNOia2hXeAxeDDc5MIdzZVYXrST4KHszKB9 FtQpkSvqNCz5OuB8mCrn6hSo3mOgI7RVarZgghUZs6WVa0fqOIjdT++WwPKEUbyx71yM zpHM5zOj/XB9p5tBtA9WzT8pmvHoOyZtgoKhf7JpdBESCqUo8HZm9rPu5o/yho1sqzPc 0RjkRwEmz9uQAztUt/a/kOQ2AdqE8DJnhcuy9Ga3goYsLSaiuD925olKcz9WCmIZEYXG qidKLeZqPO16KlBGIk09AgGnw6T1+SsG6J2RxwsRDkqWcHL0uT2GmCzah7asjbgwCvN+ OkoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732453799; x=1733058599; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5kzUN8yvlBrI4zEzoRHga48vqMgOe3POHP7Hc9Rro5o=; b=M1OIYvBpAM0kkvh1MBfvr3kdvDrgBmxxofkN7VfW1WqycUEcIhrejVtR0ve87b+Ddy Z1mqFEC8lKIxFabrh4Nmy7OWJiJyXlnPFfEZ8UFZtKAIElCsS8U9Ms5u6+DZYAqjekHF fRNmhdqaCs66kF3TIELCrL2xsm16l9lokhjqxeer/0Gbg0mMfzfhak+wQFRZCKxWWxBQ ZlQT6RJsU4M2sEVqV4CUBNYxF8oIuE/8u0ao/URjbg+ibSEJkZpKeh0A1aLeZHzDj0De ThDmYAVsTMZ+dq/kEbsJ0PMH5YYngD9LxM2pnCY5BzOeXPZZo27dmTZgofJuKoGmxZ6M eUkQ== X-Forwarded-Encrypted: i=1; AJvYcCWh8JoGz9t9JnYBHmz7Mv6NPIZ/Ggq+ySW0wODJ6hH4jFaWYrX+sjCj8dkFQO5T2yDbuKqG+Q==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwOLZFzP4wLd/3L7k6LNRCaf8G3aTu6clp9Ak4/fCKV/aMC1yGU BzBORZCZdGM1pgdInnVdGKUz4ndkoDr5CMqjMVGfRVMPqNUVgcAe X-Gm-Gg: ASbGnctn4yajQN3rzc7/W6m64XlHQ3MAQVyYWeXqSFHiuNj9npBO5tbdLcZDcFWxZOc 9IrI08joOIZPh+OHMCknpgdp3TBjYPSXbSousD3Q4i0M2jPylYWKnXw5767PpeSj5vkn6AqGksf AkRpQmqw/J8syKb3+MQQuDrlk95o+1VCXteCjPDxSzyntigRJCRcFA1yfj2fThYKC3fin7mh+tA 1Y/61wAsA1z/h/T9+NBDdObwTbFzw4IQSliDag1OBD7ZoI/ndqtDT7fmlilTRcaEtBg437ri/1d 3Wb16Lpl4RiiN70O+QuAM5x27igLVw== X-Google-Smtp-Source: AGHT+IF0+7xXAopOAUHs0Pt7Vvt4PDZB4zz32T4Qhd1co35olML/5dFhjJhNf0UV3LLqsyHUCflmIw== X-Received: by 2002:a05:6000:1886:b0:382:47d0:64b0 with SMTP id ffacd0b85a97d-38259cb82fcmr11026140f8f.2.1732453798812; Sun, 24 Nov 2024 05:09:58 -0800 (PST) Received: from [192.168.1.19] (86-44-211-146-dynamic.agg2.lod.rsl-rtd.eircom.net. [86.44.211.146]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-3825fbedeb3sm7646043f8f.95.2024.11.24.05.09.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 24 Nov 2024 05:09:57 -0800 (PST) Message-ID: <1c333b4b-59c8-4f7b-a0dc-5c5539a8f23f@draigBrady.com> Date: Sun, 24 Nov 2024 13:09:52 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta Subject: Re: bug#74503: Test issues in "make check" To: Gordon Steemson , 74503@debbugs.gnu.org References: <6C416690-0F2E-4D8F-9FE0-E27BF5826590@gmail.com> Content-Language: en-US From: =?UTF-8?Q?P=C3=A1draig_Brady?= In-Reply-To: <6C416690-0F2E-4D8F-9FE0-E27BF5826590@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 74503 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 24/11/2024 05:34, Gordon Steemson wrote: > Setup: Coreutils package, v. 9.5; Power Mac G5 running OS 10.5.8 (Darwin 9.8.0). > > When running `make check`, I noticed the following two problems. > > - tests/ls/dired.sh can’t cope with the underlying file system stealthily applying normalization to the Unicode encoding, so I was presented with a failed test and an error message complaining that “2á != 2á”. I pushed a fix to use æ instead, as that does not have a separate decomposed form. > - tests/misc/tee.sh seems to be missing a pipe. Without adding “ |” to the end of line 99, the test freezes solid because it waits forever for input that will never come. I'm baffled that it works for anyone else... perhaps some bizarre quirk of shell syntax causes the output of one line to automagically become the input of the next, if conditions are correct? The mechanism by which it is somehow accidentally working for other people is beyond my knowledge of shell scripting. The script is OK I think. darwin 9 is old (nearly 20 years old now!), so perhaps its poll vs select behavior is divergent enough with more recent macOS to be problematic. Could you try with this adjustment to the code. You can run that test in isolation with: make TESTS=tests/misc/tee.sh SUBDIRS=. check diff --git a/src/iopoll.c b/src/iopoll.c index 8e5c92dd8..9adc51bb2 100644 --- a/src/iopoll.c +++ b/src/iopoll.c @@ -23,7 +23,7 @@ a readable event). Also use poll(2) on systems we know work and/or are already using poll (linux). */ -#if defined _AIX || defined __sun || defined __APPLE__ || \ +#if defined _AIX || defined __sun || \ defined __linux__ || defined __ANDROID__ # define IOPOLL_USES_POLL 1 /* Check we've not enabled gnulib's poll module cheers, Pádraig From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 25 23:28:36 2024 Received: (at 74503) by debbugs.gnu.org; 26 Nov 2024 04:28:36 +0000 Received: from localhost ([127.0.0.1]:44151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFnBj-0001jE-M5 for submit@debbugs.gnu.org; Mon, 25 Nov 2024 23:28:36 -0500 Received: from mail-pl1-f170.google.com ([209.85.214.170]:49497) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFnBe-0001iy-1T for 74503@debbugs.gnu.org; Mon, 25 Nov 2024 23:28:34 -0500 Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-21285c1b196so48885335ad.3 for <74503@debbugs.gnu.org>; Mon, 25 Nov 2024 20:28:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732595249; x=1733200049; darn=debbugs.gnu.org; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=CfKKJOb89XeFt6GIUPn79SxEIAbrSfe0Y1q+MKjbiUE=; b=EGMQNeZCzMqT1OgcZjdS2CWU5FEx23ePmr9Ac2dfFn/V7RoSJpcvi6h/tm5TRwd6ix eZdBnt628z31ECrOMH/kf1270kQCPwV8mN507oFfYmKMcIWPqXbzd9pUOBV8peEL3d2K RrIiSKzYvCwTwYtgkfKWJc+GatSzvnddNfsN/mRR0ufkZQdiIl2ZwUwJoRiWypIFLtWL A9VkBncj1i+pjq8GG+C1F89tbvFniW4LajTClcXNGVbJzbBqKchaQ2Nxz4qvOcrbkfRs 4EydB2NhDhGg1pSlMZ3fiIjX5YGH1lwfEeY580QBRxtIe21s0KCBJ4haohnyG5tcttkr cL3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732595249; x=1733200049; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CfKKJOb89XeFt6GIUPn79SxEIAbrSfe0Y1q+MKjbiUE=; b=ges/2R/L4iBP4G/KeonyY5reTJXimrkvG01sr4Y0mvr5qjglhBjVZU26WdxD6a7VIM icBRpkbBizCoFTBui+xfj0/JTIFwf7EhBRdSJFSbIMteDZSkzGLYKj2Y2m6zaWPPWiwk 9/Z144ViDnD0t9kFwn3fWT9NFo+Ym+PJr+zxd0l2BB3zIup3L2fmTfoZZN5Og1YqcvG6 1NA5Dx2L2a8rMEGZLtMt2c4zRi7rHLSmaNmbBRnPXqaW52FBYAuabjIk28ZLS32IXIyD KT99yED6hGUCtcCc2RW7qXOs87Fp0uh+JBfPEwM4TgHVVeqwUcnBOlWsDPyC7FrUXWvk fGNw== X-Gm-Message-State: AOJu0YxfdRyk0F8Z0eujTxF1lwpuEMxVDU8qOdWVzWuORq4hKKTTGZEo HOlB6cl0stnW6yb6bH7JsXjD0VKv3f+O0ThQ/m3CaJq3LP5+DSinO02zDg== X-Gm-Gg: ASbGnct9ybDR5x5LE54mLf1WpF7medaDxn+OrwS+m7CDrvdjvzIiWQiN+k+gbsE3CLf XrzU5w/iyqqJIuxHWAJA1HjDgWtg07YBJedfbmN+2ggh4RzbT9gWErsDdAR/af6bOh0+Br5T/53 42bXwHNUF/YKqrACX94b4Xk6ZnXpeKXO18HGs4b0Vpx8tadMIgIMxwrMn3M893fi6W9BCCaBv/O s0qQ2g5GPaMG4eFmEjCaYDv/wU80RuyBH63DnRlNvBE8rbb27csroZ2UW2NpgIT8/XoetfgOG4= X-Google-Smtp-Source: AGHT+IGF3N9LmWN+Wb1v03TLfACu0y19+ttTLf7D/+Js3yqqvFOZQGYiWsC4em0EpCWG8PQfhWuXZA== X-Received: by 2002:a17:902:e551:b0:211:3275:3fe with SMTP id d9443c01a7336-2129f67adaemr184729225ad.17.1732595248917; Mon, 25 Nov 2024 20:27:28 -0800 (PST) Received: from smtpclient.apple ([2607:fb90:c960:8606:a8d9:5539:501f:3a0]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2129dc069e4sm74133435ad.135.2024.11.25.20.27.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Nov 2024 20:27:28 -0800 (PST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Gordon Steemson Mime-Version: 1.0 (1.0) Subject: Re: bug#74503: Test issues in "make check" Date: Mon, 25 Nov 2024 20:27:17 -0800 Message-Id: <5C2E21FD-3178-4F68-A0D2-11ADDFAAB959@gmail.com> References: <1c333b4b-59c8-4f7b-a0dc-5c5539a8f23f@draigBrady.com> In-Reply-To: <1c333b4b-59c8-4f7b-a0dc-5c5539a8f23f@draigBrady.com> To: =?utf-8?Q?P=C3=A1draig_Brady?= X-Mailer: iPhone Mail (22A3370) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74503 Cc: 74503@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello again, > On Nov 24, 2024, at 5:10=E2=80=AFAM, P=C3=A1draig Brady = wrote: >=20 > =EF=BB=BFOn 24/11/2024 05:34, Gordon Steemson wrote: >> Setup: [...] I should also have added that the tests were running under the latest Bash 5= .2.37 rather than the stock Bash 3.2, though fortunately it doesn't seem to h= ave mattered. >> an error message complaining that =E2=80=9C2=C3=A1 !=3D 2=C3=A1=E2=80=9D= . >=20 > I pushed a fix to use =C3=A6 instead, as that does not have a separate dec= omposed form. I can confirm that works. >> - tests/misc/tee.sh [...] >=20 > The script is OK I think. darwin 9 is old (nearly 20 years old now!), > so perhaps its poll vs select behavior is divergent enough with more recen= t macOS to be problematic. > Could you try with this adjustment to the code. > [...] Got to admit I never would have guessed that one in a million years, but you= appear to have been exactly right =E2=80=93 your proposed tweak worked perf= ectly. Thank you -- both 'make check' issues I encountered are now resolved. Gordon S.= From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 26 10:06:29 2024 Received: (at 74503-done) by debbugs.gnu.org; 26 Nov 2024 15:06:29 +0000 Received: from localhost ([127.0.0.1]:49914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFx92-00075P-L5 for submit@debbugs.gnu.org; Tue, 26 Nov 2024 10:06:29 -0500 Received: from mail-wm1-f50.google.com ([209.85.128.50]:49210) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFx90-000757-DR for 74503-done@debbugs.gnu.org; Tue, 26 Nov 2024 10:06:27 -0500 Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-4349f160d62so21603675e9.2 for <74503-done@debbugs.gnu.org>; Tue, 26 Nov 2024 07:06:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732633520; x=1733238320; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=ixL+jFha/mOumi44kUIxQs6p43rMhocYRE4KnXNhB/o=; b=Tz1oKFUJd6uPrujaA9eLPpUYLEPVHVtr0BPeNgeqiUAQRWaD5bjhPfeaPZyKn4IoMF ioUoSZvgd+eXqRrWqGfqBdnnAY2c0DTNroGpvZyu8/Joz9hnoLZb1jx1zWxkyKzkzShk KlJollgrjk109di31rY3K37waR8VZA+OtHHUoBxqAz57MjS3Jq5fGYuGj7FjLwd3OFmt vtNegTF7/p3+RneujXZXlKc/fxpK2zuyuNJ4ANTxvUT06ONOUVGYI62BKr/bCZgmGjtS 6liWfcimoWQbCDQKzQJNOfzsji4aQ06pyd8E+BGsedJpi2zlKO/9eCShacTJ8pvAKVlp Qokg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732633520; x=1733238320; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ixL+jFha/mOumi44kUIxQs6p43rMhocYRE4KnXNhB/o=; b=mBi+ctSYmf84dvkJU/psSJRVETgQg7x6NxCucXtYIeV4oXu3vd6cO+1jfZnV+PTtaB wf4iRrxwQO9ji08pEWwIcNDWc7unZVhAOdISIws1cWvvQXPfWlOgTkUjxV62qB2iRfZW lXmANe6efceBZkQT0DNXxFT4LzdkccHLimLEe+HuM44AzEQfjwBeKn3RfVyi6MPn9dNe j7ctT6BE00KWYqyYAW3R1r3okxhpe6i03lKzFWf/D+95ZxM4I6F0O9qtoLwTM9nkWSoE OAlrHunfJj5ziPy0Eq8xifsZUzjBEly+7srUX4ZgR3PVQ4jBgTZkRvZU9aHhmj3PIdna i9kw== X-Gm-Message-State: AOJu0Yz1lqYsBUvWEIfx9iQa+l4SKERlgDs+y4j7w2kLQ/11Xu4cXeTe lqYImPdKEOYk0mQaYzrEgwF4wlFAxApSKtLFHELMD3m799pcOfiqTocJpw== X-Gm-Gg: ASbGnctcq++AktiQdjDIrQnITMFR98erPMWOhT5/xeUEaCrNfP56c1z7STJD8EFvnDa HIeIq1zHWeUMwj12lrxGy6cLOBeFiCiiEKt9HNeeNzb1STUJwmlf3bqes/XsBfI8+QjbaQPRt45 FSuJp76TrnBmm1BridKdDh7sitH/n+/C3bOyXCPX1096L213BHOHwO36lfFT1x3QH02czfJ0IVO mmFaQ/mNo+HVo4v6pw7wjz28eec7Wgo2VdBjqXQymNUW472MYDIaQDgwlr6OL/n+RExqYrsz6ZQ cxZklSC+kT5Eij8ceD3Z2zyPghywgQ== X-Google-Smtp-Source: AGHT+IGOOypfWeRH2apfuOlnQiu7kGn7VIbuymbx55dxxD20JlzagRf87879ZKxqR8rOLTtFB5lBEA== X-Received: by 2002:a05:6000:156a:b0:37d:4706:f728 with SMTP id ffacd0b85a97d-38260be3ebamr13604645f8f.50.1732633510686; Tue, 26 Nov 2024 07:05:10 -0800 (PST) Received: from [192.168.1.19] (86-44-211-146-dynamic.agg2.lod.rsl-rtd.eircom.net. [86.44.211.146]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-3825fb53858sm13472820f8f.62.2024.11.26.07.05.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Nov 2024 07:05:10 -0800 (PST) Message-ID: <73e63d2e-ab54-4f03-966e-6e03b9832333@draigBrady.com> Date: Tue, 26 Nov 2024 15:05:09 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta Subject: Re: bug#74503: Test issues in "make check" To: Gordon Steemson References: <1c333b4b-59c8-4f7b-a0dc-5c5539a8f23f@draigBrady.com> <5C2E21FD-3178-4F68-A0D2-11ADDFAAB959@gmail.com> Content-Language: en-US From: =?UTF-8?Q?P=C3=A1draig_Brady?= In-Reply-To: <5C2E21FD-3178-4F68-A0D2-11ADDFAAB959@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 74503-done Cc: 74503-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 26/11/2024 04:27, Gordon Steemson wrote: > Hello again, > >> On Nov 24, 2024, at 5:10 AM, Pádraig Brady wrote: >> >> On 24/11/2024 05:34, Gordon Steemson wrote: >>> Setup: [...] > > I should also have added that the tests were running under the latest Bash 5.2.37 rather than the stock Bash 3.2, though fortunately it doesn't seem to have mattered. > >>> an error message complaining that “2á != 2á”. >> >> I pushed a fix to use æ instead, as that does not have a separate decomposed form. > > I can confirm that works. > >>> - tests/misc/tee.sh [...] >> >> The script is OK I think. darwin 9 is old (nearly 20 years old now!), >> so perhaps its poll vs select behavior is divergent enough with more recent macOS to be problematic. >> Could you try with this adjustment to the code. >> [...] > > Got to admit I never would have guessed that one in a million years, but you appear to have been exactly right – your proposed tweak worked perfectly. > > Thank you -- both 'make check' issues I encountered are now resolved. Thanks for the confirmation. I'll apply the following to address this. Marking this as done. thanks, Pádraig commit 4a4377f8697385b0676d08b51d10694afca1d9bf (HEAD -> master)Author: Pádraig Brady Date: Tue Nov 26 14:04:32 2024 +0000 tail,tee: fix broken pipe detection on darwin 9 * src/iopoll.c (): Restrict use of poll() on macOS to >= 11 (darwin 20), as it was seen to fail on macOS 10.5. Fixes https://bugs.gnu.org/74503 diff --git a/src/iopoll.c b/src/iopoll.c index 8e5c92dd8..174048639 100644 --- a/src/iopoll.c +++ b/src/iopoll.c @@ -21,10 +21,11 @@ /* poll(2) is needed on AIX (where 'select' gives a readable event immediately) and Solaris (where 'select' never gave a readable event). Also use poll(2) on systems we know work - and/or are already using poll (linux). */ - -#if defined _AIX || defined __sun || defined __APPLE__ || \ - defined __linux__ || defined __ANDROID__ + and/or are already using poll (linux). On macOS we know poll() + doesn't work on 10.5, while it does work on >= 11 at least. */ +#if defined _AIX || defined __sun \ + || defined __linux__ || defined __ANDROID__ \ + || __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 110000 # define IOPOLL_USES_POLL 1 /* Check we've not enabled gnulib's poll module as that will emulate poll() in a way not From unknown Thu Jun 19 16:21:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 25 Dec 2024 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator