*** empty log message ***
This commit is contained in:
parent
81b432a9b3
commit
b83344491c
1
ase/test/awk/err-001.out
Normal file
1
ase/test/awk/err-001.out
Normal file
@ -0,0 +1 @@
|
||||
ERROR: cannot parse program - line 2 [35] invalid character '
|
2
ase/test/awk/err-en.data
Normal file
2
ase/test/awk/err-en.data
Normal file
@ -0,0 +1,2 @@
|
||||
data 1
|
||||
data 2
|
@ -20,6 +20,11 @@ run_init()
|
||||
do
|
||||
run_script_for_init "$script" "cou-en.data"
|
||||
done
|
||||
|
||||
for script in err-???.awk
|
||||
do
|
||||
run_script_for_init "$script" "err-en.data"
|
||||
done
|
||||
}
|
||||
|
||||
run_script_for_test()
|
||||
@ -83,6 +88,24 @@ run_test()
|
||||
fi
|
||||
done
|
||||
|
||||
for script in err-???.awk
|
||||
do
|
||||
run_script_for_test "$script" "err-en.data"
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
echo "###################################"
|
||||
echo "PROBLEM(S) DETECTED IN $script.".
|
||||
echo "###################################"
|
||||
|
||||
echo "Do you want to abort? [y/n]"
|
||||
read ans
|
||||
if [ "$ans" = "y" -o "$ans" = "Y" ]
|
||||
then
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user