From: Oleg Drokin Date: Tue, 17 Sep 2019 05:23:26 +0000 (-0400) Subject: LU-12773 tests: sanity test_805 Use do_facet X-Git-Tag: 2.12.90~11 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=fa8b581aea27acc00f6ac48e76ec261dddf8631a 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 --- 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"