Sha256: 5d881d5d9a79dfb0e9397d8fe4e5bbdc66fa718377b532a330a91da4693445f0

Contents?: true

Size: 774 Bytes

Versions: 4

Compression:

Stored size: 774 Bytes

Contents

#!/bin/sh

. $srcdir/../util.sh

bin=$srcdir/../../src/tnef
tnef_file=$srcdir/test.tnef
dir=$srcdir/test-dir

cleanup() {
    rm -rf $srcdir/test-dir
}

cleanup
mkdir $srcdir/test-dir

echo $bin -C $srcdir/test-dir $tnef_file > $srcdir/directory.output 
$bin -C $srcdir/test-dir $tnef_file >> $srcdir/directory.output 2>&1
if [ ! -f $srcdir/test-dir/AUTHORS ]; then
    echo "AUTHORS file missing.  Test failed."
    exit 1
fi
cleanup
mkdir $srcdir/test-dir

echo >> directory.output
echo $bin --directory $srcdir/test-dir $tnef_file >> $srcdir/directory.output
$bin --directory $srcdir/test-dir $tnef_file >> $srcdir/directory.output 2>&1
if [ ! -f $srcdir/test-dir/AUTHORS ]; then
    echo "AUTHORS file missing.  Test failed."
    exit 1
fi

check_test directory

cleanup

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tnef-1.0.2 ext/tnef/tests/cmdline/directory.test
tnef-1.0.1 ext/tnef/tests/cmdline/directory.test
tnef-1.0.0 ext/tnef/tests/cmdline/directory.test
tnef-0.0.1 ext/tnef/tests/cmdline/directory.test