Code Review
/
stor4nfv.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Fix some bugs when testing opensds ansible
[stor4nfv.git]
/
src
/
ceph
/
qa
/
workunits
/
fs
/
snaps
/
snaptest-estale.sh
1
#!/bin/sh -x
2
3
ceph mds set allow_new_snaps true --yes-i-really-mean-it
4
5
mkdir .snap/foo
6
7
echo "We want ENOENT, not ESTALE, here."
8
for f in `seq 1 100`
9
do
10
stat .snap/foo/$f 2>&1 | grep 'No such file'
11
done
12
13
rmdir .snap/foo
14
15
echo "OK"