mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
8fb042e54e
Currently, the only functional testing for xfs_admin is xfs/287, which checks that one can add 32-bit project ids to a V4 filesystem. This obviously isn't an exhaustive test of all the CLI arguments, and historically there have been xfs configurations that don't even work. Therefore, introduce a couple of new tests -- one that will test the simple options with the default configuration, and a second test that steps a bit outside of the test run configuration to make sure that we do the right thing for external devices. The second test already caught a nasty bug in xfsprogs 5.11. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Allison Henderson <allison.henderson@oracle.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
18 lines
505 B
Plaintext
18 lines
505 B
Plaintext
QA output created by 156
|
|
S0: Initialize filesystem
|
|
label = "origlabel"
|
|
UUID = babababa-baba-baba-baba-babababababa
|
|
S1: Set a filesystem label
|
|
label = "newlabel"
|
|
S2: Clear filesystem label
|
|
label = ""
|
|
S3: Try to set oversized label
|
|
label = "thisismuchto"
|
|
S4: Set filesystem UUID
|
|
UUID = deaddead-dead-dead-dead-deaddeaddead
|
|
S5: Zero out filesystem UUID
|
|
UUID = 00000000-0000-0000-0000-000000000000
|
|
S6: Randomize filesystem UUID
|
|
S7: Restore original filesystem UUID
|
|
UUID = babababa-baba-baba-baba-babababababa
|