mirror of
https://github.com/ceph/ceph
synced 2025-04-10 03:32:25 +00:00
We are currently conducting regular ceph-dencoder tests for backward compatibility.
However, we are omitting tests for forward compatibility.
This suite will introduce tests against the ceph-objects-corpus to address forward
compatibility issues that may arise.
the script will install N-2 version and run against the latest version corpus objects
that we have, then install N-1 to N version and check them as well.
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
(cherry picked from commit 3f26a965f6
)
13 lines
327 B
Bash
Executable File
13 lines
327 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -ex
|
|
CEPH_ARGS=""
|
|
mydir=`dirname $0`
|
|
ceph-dencoder version
|
|
|
|
# clone the corpus repository on the host
|
|
git clone -b master https://github.com/ceph/ceph-object-corpus.git $CEPH_MNT/client.0/tmp/ceph-object-corpus-master
|
|
|
|
$mydir/test_readable.py $CEPH_MNT/client.0/tmp/ceph-object-corpus-master
|
|
|
|
echo $0 OK
|