sleep 1
echo -n "TEST: Testing put..."
-if ! valgrind --log-file=test_put.log $putexe -k testkey -d testdata > $out ; then
+if ! $putexe -k testkey -d testdata -t 8 > $out ; then
echo "FAIL: error running $putexe"
echo "Command output was:"
cat $out
sleep 1
echo -n "TEST: Testing get..."
-echo "Result 0, type 0:" > $checkout
+echo "Result 0, type 8:" > $checkout
echo "testdata" >> $checkout
-if ! valgrind --log-file=test_get.log $getexe -k testkey -T 1 > $out ; then
+if ! $getexe -k testkey -T 5 -t 8 > $out ; then
echo "FAIL: error running $putexe"
echo "Command output was:"
cat $out
stop_arm
exit 1
fi
-if ! diff -q $out $checkout ; then
+
+if ! diff --strip-trailing-cr -q $out $checkout ; then
echo "FAIL: $out and $checkout differ"
stop_arm
exit 1