From fa8b581aea27acc00f6ac48e76ec261dddf8631a Mon Sep 17 00:00:00 2001 From: Oleg Drokin Date: Tue, 17 Sep 2019 01:23:26 -0400 Subject: [PATCH] LU-12773 tests: sanity test_805 Use do_facet do_node cannot really work with $SINGLEMDS, that's the facet name. This fixes error message below (and a following syntax error): mds1: ssh: Could not resolve hostname mds1: Name or service not known Fixes: 106abc184d8b ("LU-8856 osd: mark specific transactions netfree") Test-Parameters: trivial fstype=zfs Change-Id: I0d842dbccbfd934c524ae01cca7399dd52158064 Signed-off-by: Oleg Drokin Reviewed-on: https://review.whamcloud.com/36204 Reviewed-by: Andreas Dilger Reviewed-by: James Nunez Tested-by: jenkins Tested-by: Maloo --- lustre/tests/sanity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 5427831..0484594 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -21883,7 +21883,7 @@ cleanup_805() { } test_805() { - local zfs_version=$(do_node $SINGLEMDS cat /sys/module/zfs/version) + local zfs_version=$(do_facet mds1 cat /sys/module/zfs/version) [ "$mds1_FSTYPE" != "zfs" ] && skip "ZFS specific test" [ $(version_code $zfs_version) -lt $(version_code 0.7.2) ] && skip "netfree not implemented before 0.7" -- 1.8.3.1