1 # $FreeBSD: head/bin/sh/tests/expansion/plus-minus5.0 214492 2010-10-28 22:34:49Z jilles $
3 e= q='?' a='*' t=texttext s='ast*que?non' p='/et[c]/' w='a b c' b='{{(#)}}'
16 if [ "x$result" = "x$expected" ]; then
20 echo "For $code, expected $expected actual $result"
24 testcase 'set -- ${e:-"{x}"}' '1|{x}'
25 testcase 'set -- "${e:-"{x}"}"' '1|{x}'
26 testcase 'set -- ${h+"{x}"}' '1|{x}'
27 testcase 'set -- "${h+"{x}"}"' '1|{x}'
28 testcase 'set -- ${h:-"{x}"}' '1|##'
29 testcase 'set -- "${h:-"{x}"}"' '1|##'