diff --git a/tests_incomplete/p_0lzo/lzo_test.sh b/tests_incomplete/p_0lzo/lzo_test.sh new file mode 100755 index 0000000..52245b9 --- /dev/null +++ b/tests_incomplete/p_0lzo/lzo_test.sh @@ -0,0 +1,23 @@ +#!/bin/sh +# Author: Vivek Dubey +# Akshay Karle + +t_Log "Running $0 - testing lzo compression and decompression" + +FILE1=/tmp/testfile.txt +FILE2=/tmp/testfile.lzo + +echo 'CentOS' > ${FILE1} + +# running compression +lzop -9v ${FILE1} -o ${FILE2} +/bin/rm ${FILE1} + +lzop -d ${FILE2} -o ${FILE1} +/bin/rm ${FILE2} + +#checking file content +grep 'CentOS' ${FILE1} + +echo $? +#t_CheckExitStatus $?