summaryrefslogtreecommitdiffstats
path: root/tests/bugs/core/io-stats-1322825.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/core/io-stats-1322825.t')
-rwxr-xr-xtests/bugs/core/io-stats-1322825.t16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/bugs/core/io-stats-1322825.t b/tests/bugs/core/io-stats-1322825.t
new file mode 100755
index 00000000000..924251a432c
--- /dev/null
+++ b/tests/bugs/core/io-stats-1322825.t
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+. $(dirname $0)/../../include.rc
+
+cleanup;
+
+TEST glusterd
+TEST pidof glusterd
+TEST $CLI volume create $V0 $H0:$B0/${V0} $H0:$B1/${V0}
+TEST $CLI volume start $V0
+TEST glusterfs --volfile-id=/$V0 --volfile-server=$H0 $M0 --attribute-timeout=0 --entry-timeout=0
+TEST "echo hello > $M0/file1"
+TEST setfattr -n trusted.io-stats-dump -v /tmp/io-stats.log $M0
+TEST ! getfattr -n trusted.io-stats-dump $B0/${V0}
+
+cleanup;