mirror of
https://github.com/ceph/ceph
synced 2024-12-24 12:24:19 +00:00
3aae5ca6fd
/bin/bash is a Linuxism. Other operating systems install bash to different paths. Use /usr/bin/env in shebangs to find bash. Signed-off-by: Alan Somers <asomers@gmail.com>
30 lines
736 B
Bash
30 lines
736 B
Bash
#!/usr/bin/env bash
|
|
#
|
|
# TODO switch to run_xfstests.sh (see run_xfstests_krbd.sh)
|
|
|
|
set -x
|
|
|
|
[ -n "${TESTDIR}" ] || export TESTDIR="/tmp/cephtest"
|
|
[ -d "${TESTDIR}" ] || mkdir "${TESTDIR}"
|
|
|
|
URL_BASE="https://git.ceph.com/?p=ceph.git;a=blob_plain;f=qa"
|
|
SCRIPT="run_xfstests-obsolete.sh"
|
|
|
|
cd "${TESTDIR}"
|
|
|
|
wget -O "${SCRIPT}" "${URL_BASE}/${SCRIPT}"
|
|
chmod +x "${SCRIPT}"
|
|
|
|
# tests excluded fail in the current testing vm regardless of whether
|
|
# rbd is used
|
|
|
|
./"${SCRIPT}" -c 1 -f xfs -t /dev/vdb -s /dev/vdc \
|
|
1-7 9-17 19-26 28-49 51-61 63 66-67 69-79 83 85-105 108-110 112-135 \
|
|
137-170 174-191 193-204 206-217 220-227 230-231 233 235-241 243-249 \
|
|
251-262 264-278 281-286 288-289
|
|
STATUS=$?
|
|
|
|
rm -f "${SCRIPT}"
|
|
|
|
exit "${STATUS}"
|