X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fqa%2Fworkunits%2Ferasure-code%2Fencode-decode-non-regression.sh;fp=src%2Fceph%2Fqa%2Fworkunits%2Ferasure-code%2Fencode-decode-non-regression.sh;h=0000000000000000000000000000000000000000;hb=7da45d65be36d36b880cc55c5036e96c24b53f00;hp=2a65d5968def75175fc02658ad36c572be6d470f;hpb=691462d09d0987b47e112d6ee8740375df3c51b2;p=stor4nfv.git diff --git a/src/ceph/qa/workunits/erasure-code/encode-decode-non-regression.sh b/src/ceph/qa/workunits/erasure-code/encode-decode-non-regression.sh deleted file mode 100755 index 2a65d59..0000000 --- a/src/ceph/qa/workunits/erasure-code/encode-decode-non-regression.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/bash -ex -# -# Copyright (C) 2014 Red Hat -# -# Author: Loic Dachary -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU Library Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Library Public License for more details. -# - -: ${CORPUS:=https://github.com/ceph/ceph-erasure-code-corpus.git} -: ${DIRECTORY:=$CEPH_ROOT/ceph-erasure-code-corpus} - -# when running from sources, the current directory must have precedence -export PATH=:$PATH - -if ! test -d $DIRECTORY ; then - git clone $CORPUS $DIRECTORY -fi - -my_version=v$(ceph --version | cut -f3 -d ' ') - -all_versions=$((ls -d $DIRECTORY/v* ; echo $DIRECTORY/$my_version ) | sort) - -for version in $all_versions ; do - if test -d $version ; then - $version/non-regression.sh - fi - if test $version = $DIRECTORY/$my_version ; then - break - fi -done