Code Review
/
stor4nfv.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
initial code repo
[stor4nfv.git]
/
src
/
ceph
/
qa
/
workunits
/
fs
/
snaps
/
snaptest-git-ceph.sh
1
#!/bin/sh -x
2
3
set -e
4
5
ceph mds set allow_new_snaps true --yes-i-really-mean-it
6
7
git clone git://git.ceph.com/ceph.git
8
cd ceph
9
10
versions=`seq 1 21`
11
12
for v in $versions
13
do
14
ver="v0.$v"
15
echo $ver
16
git reset --hard $ver
17
mkdir .snap/$ver
18
done
19
20
for v in $versions
21
do
22
ver="v0.$v"
23
echo checking $ver
24
cd .snap/$ver
25
git diff --exit-code
26
cd ../..
27
done
28
29
for v in $versions
30
do
31
ver="v0.$v"
32
rmdir .snap/$ver
33
done
34
35
echo OK