bug-coreutils
[Top][All Lists]
Advanced

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

Re: 8.0beta : missing umount at end of tests


From: Jim Meyering
Subject: Re: 8.0beta : missing umount at end of tests
Date: Sun, 18 Oct 2009 18:00:44 +0200

Gilles Espinasse wrote:

> Testing coreutils-8.0beta with
>  -cd $(DIR_APP) && make NON_ROOT_USERNAME=nobody check-root &>
> $(DIR_TEST)/$(THISAPP)-$(STAGE_ORDER).log
>  # temporary during tests
>  echo "dummy:x:1000:nobody" >> /etc/group
>  cd $(DIR_APP) && chown -Rv nobody config.log {gnulib-tests,lib,src}/.deps
>>>/dev/null
>  cd $(DIR_APP) && su-tools nobody -s /bin/bash -c "make
> RUN_EXPENSIVE_TESTS=yes check" \
>       2>&1 >> $(DIR_TEST)/$(THISAPP)-$(STAGE_ORDER).log
>
> Every tests are ok in 8.0beta (glibc-2.7, gcc-4.2.4, linux-2.6.27, no
> selinux)
> All 14 tests passed
> (6 tests were not run)
> All 339 tests passed
> (53 tests were not run)
> All 140 tests passed
> (13 tests were not run)
>
> But trying to erase source package after compilation make this error
> rm: cannot remove directory
> `/usr/src/coreutils-8.0/tests/cu-one-file-system.ywMta9oMdx/a/b': Device or
> resource busy
>
> Before removing sources, adding
> umount $(DIR_APP)/tests/cu-one-file-system.*/a/b
> fix the error
>
> Same problem happen with 7.6

Thanks for the report.
I tried to reproduce it like this:

    sudo make check -C tests TESTS=rm/one-file-system VERBOSE=yes

But that worked just fine, because the test is careful
to unmount the directory it uses.

Can you try that?

If it fails, please post the log file it creates
in tests/rm/one-file-system.log




reply via email to

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