Whamcloud - gitweb
LU-17091 tests: check correct return value in lfs_df 85/52285/1
authorLei Feng <flei@whamcloud.com>
Wed, 6 Sep 2023 02:39:49 +0000 (10:39 +0800)
committerLei Feng <flei@whamcloud.com>
Wed, 6 Sep 2023 02:39:49 +0000 (10:39 +0800)
commit8d0b87768034a766a301f945b7a51bf3a3cf0c40
tree684f7ace926c958e048e20b340424a87f820cd86
parent35ba3ca2d63ba7b1dadd0e5a941f2acf09a3db8f
LU-17091 tests: check correct return value in lfs_df

$? is the return value of last command in a pipe.
We should check the return value of first command 'lfs df'
in this case.

Signed-off-by: Lei Feng <flei@whamcloud.com>
Test-Parameters: trivial testlist=sanityn
Change-Id: I7daa38f27c878e5195181ed82717cd28ca345dbc
lustre/tests/test-framework.sh