From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x32b.google.com (mail-ot1-x32b.google.com [IPv6:2607:f8b0:4864:20::32b]) by sourceware.org (Postfix) with ESMTPS id A62FD3858C78 for ; Thu, 27 Jan 2022 11:40:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A62FD3858C78 Received: by mail-ot1-x32b.google.com with SMTP id b17-20020a9d4791000000b005a17fc2dfc1so2280507otf.1 for ; Thu, 27 Jan 2022 03:40:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=t1lOuSpIpH4kUlyc1283EKUauV160qZmJ2N/YPUlJCE=; b=WAKVxCOOIWCWrLzsSFyHze7yi25CKtX4nRkuI3TRrI/4MPwhnKn1kdkK2rwyg3gBTb V4eqMBBboRnngFweRPX3fdew5pC5BWFFgR5MrShHYllnUkNA/lF9A9v7UQTWeKA8QdVY ElHlFTai/j1hIx29S/0DXwbr0pGXV4wRuKAd9QGNBTJlOh+ctie2I0qBCLdZO9DCeHQv RmghxxovnZYp5Mv3QFaG7lfsSC8B14I0E+poCDtUS0VTsK/q+yLYJ94I9uNUTm1tkwX1 bmqwFomg49iWMbTdkgs2eBoHky3aUvH1oWevsTmEyKB+IBs5E4iP8tnMV0PItWnTEDnb c1hg== X-Gm-Message-State: AOAM532l4xEnf5gjfnioQkwrElMwgFlSM0+i3y+cB8L8/vVLQqj7Mc3H eD/4tBMLiL3Ezjj+gVihMJh+bQ== X-Google-Smtp-Source: ABdhPJwTtLGfD9UziCJ/L0p5+JOXHUasn9FstwT7+P7OsWXzRGXp3Chjv3vHzZ6YOTVsKR0K8IRnHw== X-Received: by 2002:a05:6830:113:: with SMTP id i19mr1888528otp.327.1643283612583; Thu, 27 Jan 2022 03:40:12 -0800 (PST) Received: from ?IPV6:2804:431:c7cb:27f8:865d:8f66:952e:4ca2? ([2804:431:c7cb:27f8:865d:8f66:952e:4ca2]) by smtp.gmail.com with ESMTPSA id n4sm5850980otr.76.2022.01.27.03.40.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Jan 2022 03:40:12 -0800 (PST) Message-ID: Date: Thu, 27 Jan 2022 08:40:10 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: [PATCH v7] posix: Add terminal control setting support for posix_spawn Content-Language: en-US To: Stefan Liebler , libc-alpha@sourceware.org References: <20220124181026.835706-1-adhemerval.zanella@linaro.org> <475ee880-5f93-0c71-96f7-f8ea303aafed@linux.ibm.com> From: Adhemerval Zanella In-Reply-To: <475ee880-5f93-0c71-96f7-f8ea303aafed@linux.ibm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, 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 11:40:16 -0000 On 27/01/2022 05:27, Stefan Liebler via Libc-alpha wrote: > 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? I suppose, I am discussing with Florian a revamp of the interface and I will probably fix this as well.