[PATCH v7] posix: Add terminal control setting support for posix_spawn

Adhemerval Zanella adhemerval.zanella@linaro.org
Thu Jan 27 11:40:10 GMT 2022



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 <build-dir>
> $ 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 <build-dir>; 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.


More information about the Libc-alpha mailing list