Michel Normand changed bug 1089480
What Removed Added
Assignee wqu@suse.com normand@linux.vnet.ibm.com
Flags needinfo?(normand@linux.vnet.ibm.com)  

Comment # 3 on bug 1089480 from
Created attachment 774481 [details]
btrfs_qgroup_show_before_and_after_rsync.png

The attached image btrfs_qgroup_show_before_and_after_rsync.png is the results
of suggested commands (1)
I do not see differences in the output of the two calls of btrfs qgroup show.
Do I need to try something else ?

===
$git diff tests/console/btrfs_qgroups.pm
diff --git a/tests/console/btrfs_qgroups.pm b/tests/console/btrfs_qgroups.pm
index 4a26771a..365e79d2 100644
--- a/tests/console/btrfs_qgroups.pm
+++ b/tests/console/btrfs_qgroups.pm
@@ -77,9 +77,12 @@ sub run {
     my $write_chunk = 'dd if=/dev/zero bs=1M count=40 of=e/file';
     assert_script_run "for c in {1..2}; do $write_chunk; done", fail_message
=> 'bsc#1019614 overwriting same file should not exceed quota';
     # write some more times to the same file to be sure
-    if (script_run "for c in {1..38}; do $write_chunk; done") {
+    if (script_run "for c in {1..38}; do $write_chunk || break; done") {
         record_soft_failure 'bsc#1019614';
     }
+    assert_script_run "btrfs qgroup show -prce e";
+    assert_script_run "sync";
+    assert_script_run "btrfs qgroup show -prce e";
     assert_script_run 'sync';
     assert_script_run 'rm e/file', fail_message => 'bsc#993841';
     # test exceeding real quota
===


You are receiving this mail because: