summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGeorge Melikov <[email protected]>2017-01-21 00:17:55 +0300
committerBrian Behlendorf <[email protected]>2017-01-22 13:25:40 -0800
commit4ea3f86426f76e59244ec6f66504da688d90193c (patch)
treeff907fb2ce89e00b8b89a0a653c9b4e7005f6935 /tests
parentec441a9c534815b379468a2d349011cbd5bcd884 (diff)
codebase style improvements for OpenZFS 6459 port
Diffstat (limited to 'tests')
-rw-r--r--tests/zfs-tests/cmd/xattrtest/xattrtest.c45
1 files changed, 23 insertions, 22 deletions
diff --git a/tests/zfs-tests/cmd/xattrtest/xattrtest.c b/tests/zfs-tests/cmd/xattrtest/xattrtest.c
index c8921fb69..a93cce7f1 100644
--- a/tests/zfs-tests/cmd/xattrtest/xattrtest.c
+++ b/tests/zfs-tests/cmd/xattrtest/xattrtest.c
@@ -98,31 +98,32 @@ static char script[PATH_MAX] = "/bin/true";
static char xattrbytes[XATTR_SIZE_MAX];
static int
-usage(int argc, char **argv) {
+usage(int argc, char **argv)
+{
fprintf(stderr,
- "usage: %s [-hvycdrRk] [-n <nth>] [-f <files>] [-x <xattrs>]\n"
- " [-s <bytes>] [-p <path>] [-t <script> ] [-o <phase>]\n",
- argv[0]);
+ "usage: %s [-hvycdrRk] [-n <nth>] [-f <files>] [-x <xattrs>]\n"
+ " [-s <bytes>] [-p <path>] [-t <script> ] [-o <phase>]\n",
+ argv[0]);
fprintf(stderr,
- " --help -h This help\n"
- " --verbose -v Increase verbosity\n"
- " --verify -y Verify xattr contents\n"
- " --nth -n <nth> Print every nth file\n"
- " --files -f <files> Set xattrs on N files\n"
- " --xattrs -x <xattrs> Set N xattrs on each file\n"
- " --size -s <bytes> Set N bytes per xattr\n"
- " --path -p <path> Path to files\n"
- " --synccaches -c Sync caches between phases\n"
- " --dropcaches -d Drop caches between phases\n"
- " --script -t <script> Exec script between phases\n"
- " --seed -e <seed> Random seed value\n"
- " --random -r Randomly sized xattrs [16-size]\n"
- " --randomvalue -R Random xattr values\n"
- " --keep -k Don't unlink files\n"
- " --only -o <num> Only run phase N\n"
- " 0=all, 1=create, 2=setxattr,\n"
- " 3=getxattr, 4=unlink\n\n");
+ " --help -h This help\n"
+ " --verbose -v Increase verbosity\n"
+ " --verify -y Verify xattr contents\n"
+ " --nth -n <nth> Print every nth file\n"
+ " --files -f <files> Set xattrs on N files\n"
+ " --xattrs -x <xattrs> Set N xattrs on each file\n"
+ " --size -s <bytes> Set N bytes per xattr\n"
+ " --path -p <path> Path to files\n"
+ " --synccaches -c Sync caches between phases\n"
+ " --dropcaches -d Drop caches between phases\n"
+ " --script -t <script> Exec script between phases\n"
+ " --seed -e <seed> Random seed value\n"
+ " --random -r Randomly sized xattrs [16-size]\n"
+ " --randomvalue -R Random xattr values\n"
+ " --keep -k Don't unlink files\n"
+ " --only -o <num> Only run phase N\n"
+ " 0=all, 1=create, 2=setxattr,\n"
+ " 3=getxattr, 4=unlink\n\n");
return (1);
}