ceph/qa/workunits/dencoder/test-dencoder.sh
nmordech@redhat.com 3f26a965f6 suites: adding dencoder test multi versions
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>
2024-05-16 05:16:17 +00:00

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