X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/031871c2ede845956070da603e8494690f7beb70..f7c1a8a53c452b75aa84ff4bf9de7f47af7b881c:/test/setup-test?ds=sidebyside diff --git a/test/setup-test b/test/setup-test index d1972952..2636a5df 100755 --- a/test/setup-test +++ b/test/setup-test @@ -1,30 +1,14 @@ #!/bin/sh +set -e + TEMPDIR=`mktemp -d /tmp/nmh-test-XXXXXXXX` echo $TEMPDIR > test-temp-dir -pushd .. -aclocal -autoheader -autoconf -./configure --prefix=$TEMPDIR --with-locking=fcntl +cd .. +autoheader && autoconf && date > stamp-h.in +./configure --prefix=$TEMPDIR --with-locking=fcntl --enable-debug +make clean make install echo "Path: $TEMPDIR/Mail" > $TEMPDIR/mh_profile -mkdir $TEMPDIR/Mail - -MH=$TEMPDIR/mh_profile $TEMPDIR/bin/folder -create +inbox - -for i in `seq 1 10`; -do - cat > $TEMPDIR/Mail/inbox/$i < -To: Some User -Date: Fri, 29 Sep 2006 00:00:00 -Subject: Testing message $i - -This is message number $i -EOF -done - -popd