#!/bin/sh -e

set -e


echo "test => $0"

if [ $(echo "clear" |./kc -b -k ${KC_DB} -p ${KC_PASSFILE} |grep -E -c -e '^$') -eq 50 ];then
	echo $0 test ok!
	exit 0
else
	echo $0 test failed!
	exit 1
fi

#!/bin/sh -e

set -e


echo "test => $0"

if [ $(echo "clear" |./kc -b -k ${KC_DB} -p ${KC_PASSFILE} |grep -E -c -e '^$') -eq 100 ];then
	echo $0 test ok!
	exit 0
else
	echo $0 test failed!
	exit 1
fi

Adjust 'clear' command's regress test after change in the command's operation
Adjust 'clear' command's regress test after change in the command's operation
