*** empty log message ***
This commit is contained in:
parent
48b9c4a825
commit
d7c363b3ea
@ -18,7 +18,7 @@ test()
|
|||||||
output=`echo $script | sed 's/\.awk$/.out/g'`
|
output=`echo $script | sed 's/\.awk$/.out/g'`
|
||||||
./awk $script emp-en.data > "$output.$pid"
|
./awk $script emp-en.data > "$output.$pid"
|
||||||
|
|
||||||
diff $output "$output.$pid"
|
diff -y $output "$output.$pid"
|
||||||
if [ $? -ne 0 ]
|
if [ $? -ne 0 ]
|
||||||
then
|
then
|
||||||
echo "###################################"
|
echo "###################################"
|
||||||
@ -36,6 +36,12 @@ test()
|
|||||||
# main #
|
# main #
|
||||||
#--------#
|
#--------#
|
||||||
|
|
||||||
|
if [ ! -x ./awk ]
|
||||||
|
then
|
||||||
|
echo "Error: cannot locate a relevant awk interpreter"
|
||||||
|
exit 1;
|
||||||
|
fi
|
||||||
|
|
||||||
if [ $# -ne 1 ]
|
if [ $# -ne 1 ]
|
||||||
then
|
then
|
||||||
echo "Usage: $0 init"
|
echo "Usage: $0 init"
|
||||||
|
Loading…
Reference in New Issue
Block a user