diff options
author | Amar Tumballi <amar@gluster.com> | 2012-01-16 04:48:59 -0800 |
---|---|---|
committer | Gerrit Code Review <root@dev.gluster.com> | 2012-01-16 04:48:59 -0800 |
commit | 7cb83f7754bf2483aa29d66c086c82f52878fe47 (patch) | |
tree | df42203c639e05a9e1ba147196de963a60fa8bff /sanity/system_light/scripts | |
parent | b4927e57514d44299ebd2bdcbfa644c39eec0bb9 (diff) | |
parent | a05461c1ddbcdc3875b0b8aa3657d5cc75faa15e (diff) |
Merge "Adding fsmark tests to sanity"
Diffstat (limited to 'sanity/system_light/scripts')
-rwxr-xr-x | sanity/system_light/scripts/fs_mark.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sanity/system_light/scripts/fs_mark.sh b/sanity/system_light/scripts/fs_mark.sh new file mode 100755 index 0000000..53404c5 --- /dev/null +++ b/sanity/system_light/scripts/fs_mark.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +function main () +{ + + echo "start: `date +%T`" + + for i in `seq 1 6` + do + time fs_mark -d . -D SUBDIR_COUNT -t THR_COUNT -S $i 2>>$LOG_FILE 1>>$LOG_FILE + if [ $? -ne 0 ]; then + echo "end:`date +%T`"; + return 11; + fi + done + + echo "end:`date +%T`"; + return 0; +} + +main "$@"; |