diff --git a/b2/test/char b/b2/test/char new file mode 100755 index 0000000..2c88211 --- /dev/null +++ b/b2/test/char @@ -0,0 +1,108 @@ +#!/bin/bash +. ./Common + +############################################################################### + +tst "characteristics: one file" -dc < = R; + = 0402<0603<0805; +{ FP= } +T= { + R: { R=#R TOL=%R }; +}; +!-c +FOO BAR1 T=R FP=0603 R=100R TOL=5% +FOO BAR2 T=R FP=0603 R=1k TOL=1% +EOF + +expect < = R; + = 0402<0603<0805; +{ FP= } +T= { + R: { R=#R TOL=%R }; +}; +!-c1 +FOO BAR1 T=R FP=0603 R=100R TOL=5% +FOO BAR2 T=R FP=0603 R=1k TOL=1% +!-c2 +FOO BAR3 T=R FP=0402 R=100R TOL=2% +EOF + +expect < = R; + = 0402<0603<0805; +{ FP= } +T= { + R: { R=#R TOL=%R }; +}; +!-c +FOO BAR1 T=R FP=0603 R=100R TOL=5% +FOO BAR1 T=R FP=0603 R=1k TOL=1% +EOF + +expect < = R; + = 0402<0603<0805; +{ FP= } +T= { + R: { R=#R TOL=%R }; +}; +!-c +FOO BAR1 T=R FP=0603 R=100R TOL=5% +FOO BAR2 T=R FP=0603 R=1uF +EOF + +expect < = R; + = 0402<0603<0805; +{ FP= } +T= { + R: { R=#R TOL=%R }; +}; +!-c +FOO BAR1 T=R FP=0603 R=100R TOL=5% +FOO BAR2 T=R FP=0603 R=1k TOL=1% BLAH=3 +EOF + +expect <