test encoding for some files
authorMathis Rosenhauer <rosenhauer@dkrz.de>
Tue, 11 Feb 2014 13:00:43 +0000 (14:00 +0100)
committerMathis Rosenhauer <rosenhauer@dkrz.de>
Tue, 11 Feb 2014 14:33:24 +0000 (15:33 +0100)
tests/sampledata.sh

index f6d952d..82e5ffe 100755 (executable)
@@ -20,8 +20,13 @@ do
     ref=$ALLO/test_p256n${i}.dat
     refsize=$(stat -c "%s" $ref)
     cmp -n $refsize $ref test.dat
+    $AEC -c -n$i -j16 -r16  $ref > test.rz
+    cmp $ALLO/test_p256n${i}-basic.rz test.rz
+
     $AEC -c -d -n$i -j16 -r16 -t $ALLO/test_p256n${i}-restricted.rz > test.dat
     cmp -n $refsize $ref test.dat
+    $AEC -c -n$i -j16 -r16  -t $ref > test.rz
+    cmp $ALLO/test_p256n${i}-restricted.rz test.rz
 done
 for i in 05 06 07 08 09 10 11 12 13 14 15 16
 do