Files
apfstests/254.out
T
Josef Bacik 174e29730f xfstests: add test 254 for testing basic btrfs volume functionality
This test just runs through all of the basic btrfs commands that manipulate our
subvolume stuff.  It creates a snapshot, a subvolume, sets the subvolume as a
default, lists the volumes and deletes the snapshot.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2011-05-25 09:50:32 +02:00

41 lines
747 B
Plaintext

QA output created by 254
Creating file foo in root dir
List root dir
foo
Creating snapshot of root dir
Create a snapshot of '/mnt/scratch' in '/mnt/scratch/snap'
List root dir after snapshot
foo
snap
List snapshot dir
foo
List root dir after rm of foo
snap
List snapshot dir
foo
Create subvolume '/mnt/scratch/subvol'
Listing root dir
snap
subvol
Listing subvol
Creating file bar in subvol
Setting subvol to the default
List root dir which is now subvol
bar
Mounting sbuvolid=0 for the root dir
List root dir
snap
subvol
Setting the root dir as the default again
List root dir
snap
subvol
Listing subvolumes
ID 256 top level 5 path snap
ID 257 top level 5 path subvol
Delete subvolume '/mnt/scratch/snap'
List root dir
subvol
List root dir
subvol