From 9d9640c94be92d2f86e80b370045980fb5914039 Mon Sep 17 00:00:00 2001 From: Christoph Galuschka Date: Nov 10 2012 22:19:29 +0000 Subject: first test of lzo test --- 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 $?