[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Small test example for: cannot create /dev/null: Interrupted system
From: |
Svante Signell |
Subject: |
Re: Small test example for: cannot create /dev/null: Interrupted system call |
Date: |
Fri, 11 Jul 2014 10:42:18 +0200 |
On Fri, 2014-07-11 at 10:30 +0200, Svante Signell wrote:
> On Fri, 2014-07-11 at 10:13 +0200, Thomas Schwinge wrote:
> > Hi!
> >
> Hi Thomas, the shell I use is dash.
>
> Some further tests:
>
> Linux:
> ./test_interrupted_system_call.sh
> ./test_interrupted_system_call.bash
> ./test_interrupted_system_call.bash: line 8: 28384
> Killed ./native 2>&1
> ./test_interrupted_system_call.bash: line 8: wait: pid 2 is not a child
> of this shell
>
> Hurd:
> ./test_interrupted_system_call.sh
> ./test_interrupted_system_call.sh: 8: ./test_interrupted_system_call.sh:
> cannot create /dev/null: Interrupted system call
> ./test_interrupted_system_call.bash
> ./test_interrupted_system_call.bash: line 8: 29957
> Killed ./native 2>&1
> ./test_interrupted_system_call.bash: line 8: wait: pid 2 is not a child
> of this shell
Removing the spaces around '2 > /dev/null' in the bash version, as
pointed out by Gabriele G on IRC, makes both Linux and Hurd tests
silent.