On 15/03/2023 08:52, Kevin Brodsky wrote:
On 06/03/2023 12:58, Teo Couprie Diaz wrote:
+ ./runltp -f syscalls -S <( cat runtest/syscalls_{aarch64_pcuabi,musl}.skip )
This doesn't seem to work for me:
awk: fatal: cannot open file `/dev/fd/63' for reading: No such file or directory
Directly running awk with the process substitution works fine, so I'm not sure exactly what's happening here.
That's a bit weird indeed, especially if it did generate the name pipe and works outside the script...
I haven't been able to reproduce it, either with bash, zsh, ksh or fish (using the slightly different syntax for process substitution there), so if you manage to reproduce it outside of your own environment I would be interested !
Alright so actually I know why this didn't work for me: I'm running runltp with sudo, and process substitution is one of those things that doesn't play well with sudo. It's a general limitation, nothing specific to runltp, so feel free to ignore and sorry for the noise.
Kevin
Oh right, that would make sense indeed ! No worries, on the contrary it's good to know possible limitations and to be sure that I didn't miss something will testing that.
Thanks for testing, Téo