diff --git a/etc/test/regression_test.sh b/etc/test/regression_test.sh new file mode 100644 index 0000000..f5308d6 --- /dev/null +++ b/etc/test/regression_test.sh @@ -0,0 +1,81 @@ +#!/bin/bash +cd -- "$(dirname -- "${BASH_SOURCE[0]}")" + +if [ ! -x "bin/slunkcrypt-a" ]; then + echo "Executbale file \"bin/slunkcrypt-a\" not found !!!" + exit 1 +fi +if [ ! -x "bin/slunkcrypt-b" ]; then + echo "Executbale file \"bin/slunkcrypt-b\" not found !!!" + exit 1 +fi + +rm -rf "org" "enc" "out" +mkdir -p "bin" "org" "enc" "out" + +readonly PASSWD=("T25na1i{XYuUMFDi2fRqk258" "dq22Z.[[>C9zml#n)