bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem with redir test


From: Vladimir Marek
Subject: problem with redir test
Date: Thu, 1 Dec 2016 22:35:47 +0000
User-agent: Mutt/1.5.22.1-rc1 (2013-10-16)

Hi,

during testing of latest bash on Solaris I found strange behavior. We
run the tests with clear environment (env -). It seems to be caused by
undefined SHELL variable. The test reported

150,151c150,151
< ./redir11.sub: line 26: echo: write error: Bad file number
< ./redir11.sub: line 27: echo: write error: Bad file number
---
> ./redir11.sub: line 26: $(a=4 foo): Bad file number
> ./redir11.sub: line 27: $(a=4 foo): Bad file number


As a workaround I am using the attached patch although I don't feel that
it looks like a proper fix. Maybe it's a thing worth investigating? Can
you reproduce the issue?

Thank you
-- 
        Vlad

Attachment: solaris-029.undef_SHELL.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]