bug-automake
[Top][All Lists]
Advanced

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

bug#14494: ./test-driver missing in t/distcheck-pr10470.sh


From: Stefano Lattarini
Subject: bug#14494: ./test-driver missing in t/distcheck-pr10470.sh
Date: Wed, 29 May 2013 16:54:58 +0200

On 05/29/2013 04:49 PM, Peter Rosin wrote:
>
> [SNIP]
>
> Still no go...
> 
> [SNIP]
>
> make[2]: Leaving directory 
> `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build'
> if test -d "distcheck-pr10470-1.0"; then find "distcheck-pr10470-1.0" -type d 
> ! -perm -200 -exec chmod u+w {} ';' && rm -rf "distcheck-pr10470-1.0" || { 
> sleep 5 && rm -rf "distcheck-pr10470-1.0"; }; else :; fi
> make[1]: Leaving directory 
> `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build'
> make[1]: Entering directory 
> `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build'
> test -z "foo.log" || rm -f foo.log
> test -z "foo.trs" || rm -f foo.trs
> test -z "test-suite.log" || rm -f test-suite.log
> test -z "" || rm -f 
> test . = ".." || test -z "" || rm -f 
> rm -f config.status config.cache config.log configure.lineno 
> config.status.lineno
> rm -f Makefile
> find: `./foo.log': Permission denied
> make[1]: Leaving directory 
> `/home/peda/automake/t/distcheck-pr10470.dir/distcheck-pr10470-1.0/_build'
> if test -d "distcheck-pr10470-1.0"; then find "distcheck-pr10470-1.0" -type d 
> ! -perm -200 -exec chmod u+w {} ';' && rm -rf "distcheck-pr10470-1.0" || { 
> sleep 5 && rm -rf "distcheck-pr10470-1.0"; }; else :; fi
> find: `distcheck-pr10470-1.0/_build/foo.log': Permission denied
> =======================================================
> distcheck-pr10470-1.0 archives ready for distribution: 
> distcheck-pr10470-1.0.tar.gz
> =======================================================
> + case $am__make_rc_exp in
> + test 0 -ge 0
> + test 0 -le 255
> + test 0 -eq 0
> + grep 'rm:.*' output
>
What if you do something like:

  $EGREP "(^| )(rm|find):.*$distdir" output

instead?

> + fatal_ 'expected code path not covered'
> + warn_ 'distcheck-pr10470: hard error: expected code path not covered'
> + echo 'distcheck-pr10470: hard error: expected code path not covered'
>
[SNIP]

Thanks,
  Stefano





reply via email to

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