#!/bin/sh

testname=`basename "$0"`
testname=${testname#redosh-}
testname=${testname%.t}
testdir=`dirname $0`/redo-sh.tests/$testname
cd $testdir
testdir=`pwd`
export REDO_TOP_DIR="$testdir" REDO_NO_PROGRESS=1
test_description="`sed -n '2,/^$/p' test | sed 's/# //'`"
. $SHARNESS_TEST_SRCDIR/sharness.sh
cd $testdir
test_expect_success itself ./test
test_done
