xfstests: btrfs/015: add a regression test for snapshot creation

We had a regression where you couldn't snapshot a file system if
you mounted it ro and then remounted it rw.  This is a test that
does just that to make sure we don't have this problem again.  I
ran the test without the fix and it blew up, and then applied the
fix and verified that it passed.

[rjohnston: renumbered test]

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Reviewed-by: Stefan Behrens <sbehrens@giantdisaster.de>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
This commit is contained in:
Josef Bacik
2013-09-27 13:55:37 +00:00
committed by Rich Johnston
parent 859f127da2
commit 56a3959a96
3 changed files with 64 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
QA output created by 015
Silence is golden