ceph/qa/suites
Patrick Donnelly b39f9d06dc
qa: fix symlinks indirectly pointing at qa to .qa
Building on the previous commit.

Command used:

$ find suites/ -type l -and -not -name .qa -execdir ~/fix.sh {} \;

fix.sh:
    #!/bin/bash

    link="$(readlink "$1")"

    echo $link
    dirlink="$(dirname "$link")"
    baselink="$(basename "$link")"

    while true; do
        echo $dirlink
        if [ "$dirlink" -ef ~/ceph/qa ]; then
            ln -nsf ".qa/$baselink" "$1"
            exit
        else
            baselink="$(basename "$dirlink")/$baselink"
            dirlink="$(dirname "$dirlink")"
            if [ "$dirlink" -ef . ]; then
                break
            fi
        fi
    done

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-06-26 11:48:38 -07:00
..
big qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
buildpackages qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
ceph-ansible qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
ceph-deploy qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
cephmetrics qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
dummy qa: add .qa helper link 2018-06-26 11:33:48 -07:00
experimental qa: add .qa helper link 2018-06-26 11:33:48 -07:00
fs qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
hadoop qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
kcephfs qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
knfs qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
krbd qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
marginal qa: add .qa helper link 2018-06-26 11:33:48 -07:00
mixed-clients qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
multimds qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
perf-basic qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
powercycle qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
rados qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
rbd qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
rgw qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
samba qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
smoke qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
stress qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
teuthology qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
tgt qa: add .qa helper link 2018-06-26 11:33:48 -07:00
upgrade qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
.qa qa: add .qa helper link 2018-06-26 11:33:48 -07:00