2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2012 SGI. All Rights Reserved.
7 # Test that xfsdump can generate a format 2 dump.
10 _begin_fstest dump ioctl auto quick
12 # Override the default cleanup function.
20 # Import common functions.
23 # real QA test starts here
26 _require_legacy_v2_format
30 echo "*** Dump using format 2"
33 echo "*** Verify it's a format 2 dump"
34 file $dump_file | cut -d: -f 2
36 echo "*** Restoring format 2 dump"