]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs: reorder arguments so that options come first
authorDavid Sterba <dsterba@suse.com>
Thu, 30 Mar 2017 15:20:18 +0000 (17:20 +0200)
committerEryu Guan <eguan@redhat.com>
Fri, 31 Mar 2017 05:09:16 +0000 (13:09 +0800)
commitdf8c7225ba003db61304d38722704666742fda10
tree4650a98991edc9bebad46350aabc2598e3f8e71e
parent5d36d8585afc3c56f99d88065e7f8aa315f27186
btrfs: reorder arguments so that options come first

The option parser in the btrfs utility is going to be updated and
will accept arguments in a stricter form, namely that options must
come before their non-option argument. Otherwise eg. the -f option
in send would be understood as another path and not an option
leading to many test failures.

The canonical form should be:

  btrfs command subcommand [-options] [arguments]

Signed-off-by: David Sterba <dsterba@suse.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
40 files changed:
tests/btrfs/008
tests/btrfs/016
tests/btrfs/019
tests/btrfs/025
tests/btrfs/030
tests/btrfs/034
tests/btrfs/036
tests/btrfs/038
tests/btrfs/039
tests/btrfs/040
tests/btrfs/043
tests/btrfs/044
tests/btrfs/045
tests/btrfs/046
tests/btrfs/048
tests/btrfs/050
tests/btrfs/051
tests/btrfs/053
tests/btrfs/054
tests/btrfs/058
tests/btrfs/077
tests/btrfs/083
tests/btrfs/084
tests/btrfs/087
tests/btrfs/092
tests/btrfs/094
tests/btrfs/097
tests/btrfs/105
tests/btrfs/108
tests/btrfs/109
tests/btrfs/110
tests/btrfs/111
tests/btrfs/117
tests/btrfs/127
tests/btrfs/128
tests/btrfs/129
tests/btrfs/133
tests/btrfs/134
tests/btrfs/135
tests/btrfs/137