Whamcloud - gitweb
LU-16384 tests: dump lustre log if DEBUG_RMMOD set 74/49374/5
authorAlex Zhuravlev <bzzz@whamcloud.com>
Mon, 12 Dec 2022 09:52:16 +0000 (12:52 +0300)
committerOleg Drokin <green@whamcloud.com>
Tue, 3 Jan 2023 21:33:46 +0000 (21:33 +0000)
commit255102e84efecdf44f9f023a4ec8cf211d665591
tree716d9b00b4669bc5f666e23422019985097fbd62
parentde7bbdf62ea7ca013e4f201417106fc9eb2398c1
LU-16384 tests: dump lustre log if DEBUG_RMMOD set

just to simplify local development and use existing code in
lustre_rmmod script:
DEBUG_RMMOD=<logfile> sh sanity.sh will dump a text lustre log to <logfile>.
it can be DEBUG_RMMOD=- to direct lustre log to standard output.

Test-Parameters: trivial
Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: I8d72e1e9cecb354bcc5d41ab3cca5767a298c668
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49374
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/scripts/lustre_rmmod