Whamcloud - gitweb
LU-13721 utils: fix 'lfs find --pool' for PFL files
[fs/lustre-release.git] / lustre / tests / posix.sh
index 429b93d..28cde8f 100755 (executable)
@@ -24,10 +24,10 @@ BASELINE_FS=${BASELINE_FS:-"ext4"}
 # SLES does not support read-write access to an ext4 file system by default
 [[ -e /etc/SuSE-release ]] && BASELINE_FS=ext3
 
-if [[ $(facet_fstype $SINGLEMDS) = zfs ]]; then
+if [[ "$mds1_FSTYPE" = zfs ]]; then
        BASELINE_FS=zfs
        ! which $ZFS $ZPOOL >/dev/null 2>&1 &&
-               skip_env "need $ZFS and $ZPOOL commands" && exit 0
+               skip_env "need $ZFS and $ZPOOL commands"
 
        POSIX_ZPOOL=$FSNAME-posix
        POSIX_ZFS=$POSIX_ZPOOL/${POSIX_ZPOOL##$FSNAME-}