• Dave Young's avatar
    mqueue selftests: print failure status instead of cause make error · 9ed1d90e
    Dave Young authored
    Original behavior:
      bash-4.1$ make -C mqueue run_tests
      make: Entering directory `/home/dave/git/linux-2.6/tools/testing/selftests/mqueue'
      ./mq_open_tests /test1
      Not running as root, but almost all tests require root in order to modify
      system settings.  Exiting.
      make: *** [run_tests] Error 1
      make: Leaving directory `/home/dave/git/linux-2.6/tools/testing/selftests/mqueue'
    
    After applying the patch:
      bash-4.1$ make -C mqueue run_tests
      make: Entering directory `/home/dave/git/linux-2.6/tools/testing/selftests/mqueue'
      Not running as root, but almost all tests require root in order to modify
      system settings.  Exiting.
      mq_open_tests: [FAIL]
      Not running as root, but almost all tests require root in order to modify
      system settings.  Exiting.
      mq_perf_tests: [FAIL]
      make: Leaving directory `/home/dave/git/linux-2.6/tools/testing/selftests/mqueue'
    Signed-off-by: default avatarDave Young <dyoung@redhat.com>
    Reviewed-by: default avatarPekka Enberg <penberg@kernel.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    9ed1d90e
Makefile 278 Bytes