Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-3072 test: add more operations to racer
[fs/lustre-release.git]
/
lustre
/
tests
/
racer
/
file_getxattr.sh
diff --git a/lustre/tests/racer/file_getxattr.sh
b/lustre/tests/racer/file_getxattr.sh
new file mode 100755
(executable)
index 0000000..
0171ae4
--- /dev/null
+++ b/
lustre/tests/racer/file_getxattr.sh
@@ -0,0
+1,9
@@
+#!/bin/bash
+
+DIR=$1
+MAX=$2
+
+while true; do
+ file=$DIR/$((RANDOM % MAX))
+ getfattr -d -m- $file &> /dev/null
+done