From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id EE4463858D1E for ; Thu, 27 Jan 2022 08:27:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org EE4463858D1E Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 20R8DKCf022858 for ; Thu, 27 Jan 2022 08:27:50 GMT Received: from ppma03fra.de.ibm.com (6b.4a.5195.ip4.static.sl-reverse.com [149.81.74.107]) by mx0b-001b2d01.pphosted.com with ESMTP id 3duqpq87b5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 27 Jan 2022 08:27:50 +0000 Received: from pps.filterd (ppma03fra.de.ibm.com [127.0.0.1]) by ppma03fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 20R8Ds6P014908 for ; Thu, 27 Jan 2022 08:27:48 GMT Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by ppma03fra.de.ibm.com with ESMTP id 3dr9j9k3fm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 27 Jan 2022 08:27:48 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 20R8Rkov36176364 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 27 Jan 2022 08:27:46 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4A4294C040 for ; Thu, 27 Jan 2022 08:27:46 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2A1744C044 for ; Thu, 27 Jan 2022 08:27:46 +0000 (GMT) Received: from [9.145.18.216] (unknown [9.145.18.216]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP for ; Thu, 27 Jan 2022 08:27:46 +0000 (GMT) Message-ID: <475ee880-5f93-0c71-96f7-f8ea303aafed@linux.ibm.com> Date: Thu, 27 Jan 2022 09:27:45 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 From: Stefan Liebler Subject: Re: [PATCH v7] posix: Add terminal control setting support for posix_spawn To: libc-alpha@sourceware.org References: <20220124181026.835706-1-adhemerval.zanella@linaro.org> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: k5hdSf_EdGuWvHSZWf7_PJgHXx_K4MwA X-Proofpoint-ORIG-GUID: k5hdSf_EdGuWvHSZWf7_PJgHXx_K4MwA X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-27_02,2022-01-26_01,2021-12-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 malwarescore=0 mlxlogscore=929 bulkscore=0 lowpriorityscore=0 mlxscore=0 suspectscore=0 phishscore=0 priorityscore=1501 adultscore=0 clxscore=1015 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2201270047 X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jan 2022 08:27:52 -0000 On 24/01/2022 22:52, Carlos O'Donell via Libc-alpha wrote: > and posix_spawnattr_tcgetpgrp_np. > The function sets a new attrib Hi Adhemerval, I'm getting an error with the new posix/tst-spawn6 testcase. When running the test in an interactive shell, the test passes: $ cd $ make t=posix/tst-spawn6 test PASS: posix/tst-spawn6 original exit status 0 When running it e.g. as ssh-command or as cron-job, the test fails: $ ssh localhost "cd ; make t=posix/tst-spawn6 test;" FAIL: posix/tst-spawn6 original exit status 1 error: xopen.c:28: open64 ("/dev/tty", 0x0, 0600): No such device or address error: 1 test failures The failing open is the first one executed in do_test. Would it make sense to mark the test UNSUPPORTED in this case? Bye Stefan