0001-genpaxtest-move-log-location.patch 724 B

123456789101112131415161718192021222324252627282930
  1. From 623d99e4f557ef9cd771006e4f916c12d22a07a8 Mon Sep 17 00:00:00 2001
  2. From: David Graziano <david.graziano@rockwellcollins.com>
  3. Date: Mon, 12 Jun 2017 10:41:45 -0500
  4. Subject: [PATCH] genpaxtest: move log location
  5. Move log location to /var/log instead of local directory.
  6. (For read-only filesystems)
  7. Signed-off-by: David Graziano <david.graziano@rockwellcollins.com>
  8. ---
  9. genpaxtest | 14 +++++++-------
  10. 1 file changed, 7 insertions(+), 7 deletions(-)
  11. diff --git a/genpaxtest b/genpaxtest
  12. index 5a22e15..d62b15e 100644
  13. --- a/genpaxtest
  14. +++ b/genpaxtest
  15. @@ -35,7 +35,7 @@
  16. exit 1
  17. fi
  18. -LOG=\$HOME/paxtest.log
  19. +LOG=/var/log/paxtest.log
  20. [ -n "\$1" ] && LOG=\$1
  21. touch "\$LOG"
  22. if [ ! -e "\$LOG" ]; then
  23. --
  24. 1.9.1