Whamcloud - gitweb
EX-3658 pumount: refine exit statuses
authorJohn L. Hammond <jhammond@whamcloud.com>
Thu, 26 Aug 2021 15:26:04 +0000 (10:26 -0500)
committerJohn L. Hammond <jhammond@whamcloud.com>
Mon, 20 Sep 2021 13:24:43 +0000 (13:24 +0000)
commitafeb1331a5ba09f1040d472a20d3195fe367d5a9
tree1b5e1025e6736299144b313661e97edfc7ea98cd
parent4a192bfc6b91020775253665e7b4666f3c3612c9
EX-3658 pumount: refine exit statuses

   0  Unmount succeeded and no processes using FS remained.
   1  Unmount succeeded but one or more processes using FS remained.
   2  Unmount failed or some other major error occurred.
   3  An invalid option or argument was supplied.

Add sanity-pumount 57a-c to verify.

Test-Parameters: trivial testlist=sanity-pumount clientextra_install_params="--packages pumount"
Signed-off-by: John L. Hammond <jhammond@whamcloud.com>
Change-Id: I7d0d67129af08d5c56ab5e676d4d92b3a14f2d9d
Reviewed-on: https://review.whamcloud.com/44758
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/44958
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/sanity-pumount.sh
pumount/pumount.c