#! /bin/sh # Tests the key export programs if [ -z "$srcdir" ] ; then srcdir=`pwd` fi . $srcdir/functions.sh # Keep silent unless -v is used. if [ x$1 != x-v ]; then exec 2>/dev/null fi # All output is diagnostic exec 1>&2 echo "export-1-test: Testing lsh-export-key" (../lsh-export-key -s Test |tee test.out1) <test.out2 <