@@ -109,7 +109,10 @@ function remove_padding {
function run_tests {
pass="SuperSecretPassword"
padded=$(pad_string "$pass")
- echo "|${padded}|"
+ if [ ${#padded} -ne 128 ]; then
+ echo $'Incorrect padded length'
+ exit 78352
+ fi
${PROJECT_NAME}-pass -u root -a tests -p "$pass"
returned_pass=$(${PROJECT_NAME}-pass -u root -a tests)
if [[ "$pass" != "$returned_pass" ]]; then