1#!/bin/bash 2 3ulimit -n 1048576 4 5# It would be easier if we could just set SCRATCH_DEV and TEST_DEV to the source directory 6# path in local.options. Unfortunately, setting these variables to a path seems get 7# xfstests all worked up (even though it should treat these as opaque values), and it 8# refuses to even start running any tests). 9dev="$1" 10shift 11if [ "$dev" = "${SCRATCH_DEV}" ]; then 12 source="${SCRATCH_SOURCE}" 13else 14 source="${TEST_SOURCE}" 15fi 16 17exec "$PASSTHROUGH_PATH" -o fsname=$dev,allow_other "${source}" "$@" 18