summaryrefslogtreecommitdiffstats
path: root/tests/basic/rpc-coverage.sh
diff options
context:
space:
mode:
authorAmar Tumballi <amarts@redhat.com>2019-04-12 08:16:56 +0530
committerXavi Hernandez <xhernandez@redhat.com>2019-05-30 07:32:34 +0000
commit71caf1423fe5f0eed652210f8158c95fc8a10219 (patch)
treef4a226040e3105df6c3ecb690244ed3236cd8556 /tests/basic/rpc-coverage.sh
parentbfe58919c03ea746aa6c7800fe698b15ca8c6ecb (diff)
tests: add tests for different signal handling
Also some cleanup: * old-protocol.t was actually added to make sure we have line-coverage * first-test.t should have been removed as per the comment. It doesn't do anything. * add statvfs to rpc-coverage so we can cover statvfs in few xlators. updates: bz#1693692 Change-Id: Ie8651ce007de484c4abced16b4de765aa5e517be Signed-off-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'tests/basic/rpc-coverage.sh')
-rwxr-xr-xtests/basic/rpc-coverage.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/basic/rpc-coverage.sh b/tests/basic/rpc-coverage.sh
index 4b6759a59eb..ad145559c41 100755
--- a/tests/basic/rpc-coverage.sh
+++ b/tests/basic/rpc-coverage.sh
@@ -419,9 +419,15 @@ function test_rmdir()
rm -rf $PFX || fail "rm -rf"
}
+function test_statvfs()
+{
+ df $DIR 2>&1 || fail "df"
+}
+
function run_tests()
{
+ test_statvfs;
test_mkdir;
test_create;
test_statfs;