mirror of
https://github.com/ceph/ceph
synced 2024-12-19 01:46:00 +00:00
test/encoding/check-generated: skip some tests if non-determinstic encoding
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
2bcab0319b
commit
62f94221c5
@ -53,14 +53,17 @@ for type in `./ceph-dencoder list_types`; do
|
||||
failed=$(($failed + 1))
|
||||
fi
|
||||
|
||||
./ceph-dencoder type $type select_test $n encode export $tmp1
|
||||
./ceph-dencoder type $type select_test $n encode decode encode export $tmp2
|
||||
if ! cmp $tmp1 $tmp2; then
|
||||
echo "**** $type test $n binary reencode check failed ****"
|
||||
echo " ceph-dencoder type $type select_test $n encode export $tmp1"
|
||||
echo " ceph-dencoder type $type select_test $n encode decode encode export $tmp2"
|
||||
echo " cmp $tmp1 $tmp2"
|
||||
failed=$(($failed + 1))
|
||||
if ./ceph-dencoder type $type is_deterministic
|
||||
then
|
||||
./ceph-dencoder type $type select_test $n encode export $tmp1
|
||||
./ceph-dencoder type $type select_test $n encode decode encode export $tmp2
|
||||
if ! cmp $tmp1 $tmp2; then
|
||||
echo "**** $type test $n binary reencode check failed ****"
|
||||
echo " ceph-dencoder type $type select_test $n encode export $tmp1"
|
||||
echo " ceph-dencoder type $type select_test $n encode decode encode export $tmp2"
|
||||
echo " cmp $tmp1 $tmp2"
|
||||
failed=$(($failed + 1))
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user