ATF-devel archive

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

Re: anybody can fix the corrupted t_example2 in atf web site?



Hello,

Thanks, I just fixed this.  Next time please email atf-devel instead
of owner-atf-devel.


On Fri, Jul 24, 2009 at 12:05 AM, x yz<lastguy%yahoo.com@localhost> wrote:
>
> noflags_body() {
>    mkdir dir
>    touch dir/a
>    touch dir/b
>    mkdir dir/c
>
>    echo a >expout
>    echo b >>expout
>    echo c >>expout
>    atf_check 'cd dir && ls' 0 expout null
> }
>
> Above fails seems due to atf-check command syntax change.
> ...
> tp-start: t_example_2, 2
> tc-start: noflags
> tc-so:Executing command [ cd dir && ls ]
> tc-se:Fail: incorrect exit status: 127, expected: 0
> tc-se:stdout:
> tc-se:
> tc-se:stderr:
> tc-se:execvp(cd dir && ls) failed: No such file or directory
> tc-end: noflags, failed, atf-check failed; see the output of the test for 
> details
> tc-start: Fflag
> tc-so:Executing command [ cd dir && ls -F 0 expout null ]
> tc-se:Fail: incorrect exit status: 127, expected: 0
> tc-se:stdout:
> tc-se:
> tc-se:stderr:
> tc-se:execvp(cd dir && ls -F) failed: No such file or directory
> tc-end: Fflag, failed, atf-check failed; see the output of the test for 
> details
> tp-end: t_example_2
> info: time.end, Thu Jul 23 16:03:03 PDT 2009
>
> thanks
> joe
> Open source is opensource.
>
>
>
>
>



-- 
Julio Merino


Home | Main Index | Thread Index | Old Index