test: fail by default
This commit is contained in:
@@ -191,7 +191,7 @@ function run_regtest()
|
|||||||
local testeccopt=""
|
local testeccopt=""
|
||||||
local image_md5=""
|
local image_md5=""
|
||||||
local ecc_md5=""
|
local ecc_md5=""
|
||||||
local pass="true"
|
local pass="false"
|
||||||
|
|
||||||
local fail_on_bad=$(grep "FAIL_ON_BAD" $CONFIGFILE)
|
local fail_on_bad=$(grep "FAIL_ON_BAD" $CONFIGFILE)
|
||||||
fail_on_bad=$(echo $fail_on_bad | cut -d\ -f 2)
|
fail_on_bad=$(echo $fail_on_bad | cut -d\ -f 2)
|
||||||
@@ -264,14 +264,12 @@ function run_regtest()
|
|||||||
vimdiff $REFLOG $NEWLOG
|
vimdiff $REFLOG $NEWLOG
|
||||||
|
|
||||||
continue
|
continue
|
||||||
else
|
|
||||||
pass="false"
|
|
||||||
fi
|
fi
|
||||||
break
|
break
|
||||||
done
|
done
|
||||||
else
|
|
||||||
pass="false"
|
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
pass="true"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
else # gui mode
|
else # gui mode
|
||||||
|
|||||||
Reference in New Issue
Block a user