]> git.proxmox.com Git - mirror_zfs.git/blobdiff - tests/zfs-tests/tests/functional/userquota/userquota_004_pos.ksh
Add support for user/group dnode accounting & quota
[mirror_zfs.git] / tests / zfs-tests / tests / functional / userquota / userquota_004_pos.ksh
index 6bdcf1c769d303e8314e2448c217db684c83cccb..74906326171dafebff6b6032949ebbaa1122fc4a 100755 (executable)
@@ -50,6 +50,7 @@ log_onexit cleanup
 
 log_assert "Check the basic function of {user|group} used"
 
+sync_pool
 typeset user_used=$(get_value "userused@$QUSER1" $QFS)
 typeset group_used=$(get_value "groupused@$QGROUP" $QFS)
 
@@ -62,7 +63,7 @@ fi
 
 mkmount_writable $QFS
 log_must user_run $QUSER1 $MKFILE 100m $QFILE
-$SYNC
+sync_pool
 
 user_used=$(get_value "userused@$QUSER1" $QFS)
 group_used=$(get_value "groupused@$QGROUP" $QFS)