#!/bin/sh ./creddy_test_auto 1> auto.tmp 2>& 1 result=`diff -I "Restoring file" -I "YAP 6.3" auto.tmp auto.save 2>/dev/null` if [ $? -eq 0 ]; then if [ "$result" = "" ]; then echo " PASSED" else echo " ERROR:creddy test result differs!!!" fi else echo " ERROR:creddy test result differs!!!" fi