mkdir $tmp
fi
cd $tmp
-export HOME=$tmp
tmp=`pwd`
+export HOME=$tmp
export DGIT_TEST_DUMMY_DIR=$tmp
ln -f $troot/ssh ssh
exit 1
}
+t-expect-fail () {
+ local mpat="$1"; shift
+ LC_MESSAGES=C "$@" 2>&1 | tee $tmp/t.output
+ test ${PIPESTATUS[0]} != 0
+ egrep "$mpat" $tmp/t.output ||false
+}
+
t-untar () {
local tarfile=$1.tar
local edittree=$1.edit