ceph/qa/suites/rados
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
..
basic qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
mgr qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
monthrash qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
multimon qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
objectstore qa: add .qa helper link 2018-06-26 11:33:48 -07:00
perf qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
rest qa: add .qa helper link 2018-06-26 11:33:48 -07:00
singleton qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
singleton-bluestore qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
singleton-flat qa: add .qa helper link 2018-06-26 11:33:48 -07:00
singleton-nomsgr qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
standalone qa: add .qa helper link 2018-06-26 11:33:48 -07:00
thrash qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
thrash-erasure-code qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
thrash-erasure-code-big qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
thrash-erasure-code-isa qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
thrash-erasure-code-overwrites qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
thrash-erasure-code-shec qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
thrash-old-clients qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
upgrade qa: fix symlinks indirectly pointing at qa to .qa 2018-06-26 11:48:38 -07:00
verify 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