[PATCH 0/2] Add a file syntax checker/fixer to the testsuite

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

 



Two patches: the first adds a syntax checking/fixing script and
the second uses this script to fix the C sources/headers.

An additional patch will be sent shortly which adds Perl support
but I think we need some discussion on what Perl style we want to
adopt for the testsuite.

---

Paul Moore (2):
      tools: add a syntax checker/fixer
      all: use ./tools/check-syntax to fix the existing code


 Makefile                             |    9 -
 tests/cap_userns/userns_child_exec.c |  455 ++++++++++++++++++----------------
 tests/mmap/mprotect_stack_thread.c   |    3 
 tests/mmap/shmat.c                   |    2 
 tests/unix_socket/client.c           |   14 +
 tests/unix_socket/server.c           |    8 -
 tools/check-syntax                   |  146 +++++++++++
 7 files changed, 405 insertions(+), 232 deletions(-)
 create mode 100755 tools/check-syntax



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

  Powered by Linux