123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- #! /bin/sh
- . test-init.sh
- mkdir foo.d
- sh -c "cd foo.d && sleep '4'" &
- sleep '1'
- rm -rf foo.d && skip_ 'system is able to remove "in use" directories'
- echo AC_OUTPUT >> configure.ac
- cat > Makefile.am <<END
- TESTS = foo.test
- EXTRA_DIST= foo.test
- END
- cat > foo.test <<END
- #!/bin/sh
- sleep '4' &
- exit 0
- END
- chmod a+x foo.test
- $ACLOCAL
- $AUTOCONF
- $AUTOMAKE -a
- ./configure
- run_make -M distcheck
- $EGREP "(^| )(rm|find):.*$distdir" output || fatal_ "expected code path not covered"
- :
|