Whamcloud - gitweb
LU-11607 tests: remove duplicate code lnet-selftest 65/36965/3
authorJames Nunez <jnunez@whamcloud.com>
Mon, 9 Dec 2019 18:37:14 +0000 (11:37 -0700)
committerOleg Drokin <green@whamcloud.com>
Fri, 20 Dec 2019 03:27:29 +0000 (03:27 +0000)
commitcbdceec741f5fb782b6a7f86d30daed9f5ed562a
treea3688e4ae71daedbcce930cdadc9e09a3d5cbd1d
parenteb3d0504f2d7eed8c8c584af82ad609455071bd2
LU-11607 tests: remove duplicate code lnet-selftest

lnet-selftest.sh and test-framework.sh both have a function
called is_mounted() that check if the file system is
mounted.  Since both functions do and return the same
thing, let's remove the is_mounted() function from
lnet-selftest.

Test-Parameters: trivial
Test-Parameters: fstype=zfs testlist=lnet-selftest,lnet-selftest
Test-Parameters: fstype=ldiskfs testlist=lnet-selftest,lnet-selftest
Signed-off-by: James Nunez <jnunez@whamcloud.com>
Change-Id: I05ce84002cfa8ac96ac4f1e8169fb2233b66f378
Reviewed-on: https://review.whamcloud.com/36965
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/lnet-selftest.sh
lustre/tests/test-framework.sh