Re: [PATCH testsuite] tests: remove more stray flag/temporary files with 'make clean'

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

 



On Fri, Aug 26, 2022 at 10:29 AM Ondrej Mosnacek <omosnace@xxxxxxxxxx> wrote:
>
> Building upon a similar cleanup being done in the binder test, remove
> any temporary files that may have been left behind by a failed or
> interrupted test run as part of 'make clean'.
>
> For now, skip doing this for the filesystem/fs_filesystem tests, as
> those can leave behind directories with mounts, which are harder to
> clean up reliably.
>
> Signed-off-by: Ondrej Mosnacek <omosnace@xxxxxxxxxx>
> ---
>  tests/bounds/Makefile            | 2 +-
>  tests/bpf/Makefile               | 2 +-
>  tests/capable_file/Makefile      | 2 +-
>  tests/entrypoint/Makefile        | 1 +
>  tests/execute_no_trans/Makefile  | 1 +
>  tests/fdreceive/Makefile         | 2 +-
>  tests/fdreceive/test             | 4 +++-
>  tests/file/Makefile              | 2 +-
>  tests/inet_socket/Makefile       | 2 +-
>  tests/inherit/Makefile           | 2 +-
>  tests/ioctl/Makefile             | 2 +-
>  tests/link/Makefile              | 1 +
>  tests/mac_admin/Makefile         | 1 +
>  tests/mkdir/Makefile             | 1 +
>  tests/mmap/Makefile              | 2 +-
>  tests/nnp_nosuid/Makefile        | 2 +-
>  tests/notify/Makefile            | 2 +-
>  tests/open/Makefile              | 2 +-
>  tests/ptrace/Makefile            | 2 +-
>  tests/readlink/Makefile          | 1 +
>  tests/relabel/Makefile           | 1 +
>  tests/rename/Makefile            | 1 +
>  tests/rxdir/Makefile             | 1 +
>  tests/sctp/Makefile              | 2 +-
>  tests/setattr/Makefile           | 1 +
>  tests/sigkill/Makefile           | 2 +-
>  tests/stat/Makefile              | 1 +
>  tests/task_getpgid/Makefile      | 2 +-
>  tests/task_getscheduler/Makefile | 2 +-
>  tests/task_getsid/Makefile       | 2 +-
>  tests/task_setnice/Makefile      | 1 +
>  tests/task_setscheduler/Makefile | 2 +-
>  tests/unix_socket/Makefile       | 2 +-
>  tests/vsock_socket/Makefile      | 2 +-
>  34 files changed, 36 insertions(+), 22 deletions(-)

Now applied as:
https://github.com/SELinuxProject/selinux-testsuite/commit/724807fba3c7a5946d50674961be8b9b2ec1535f

-- 
Ondrej Mosnacek
Senior Software Engineer, Linux Security - SELinux kernel
Red Hat, Inc.




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux