#!./perl
chdir 't' if -d 't';
}
print "1..13\n";
$_ = 'x' x 20;
s/\d*|x/<$&>/g;
$foo =
'<>' .
('<x><>' x 20) ;
print ($_ eq $foo ? "ok 1\n" : "not ok 1\n#'$_'\n#'$foo'\n");
$t = 'aaa';
$_ = $t;
print "not " unless "$_ @res" eq 'axxxx aaa a aaa aa'; print "ok 2\n";
$_ = $t;
print "not " unless "$_ @res" eq 'axx aaa a aaa aa'; print "ok 3\n";
$_ = $t;
print "not " unless "$_ @res" eq 'axxa aaa a'; print "ok 4\n";
$_ = $t;
print "not " unless "$_ @res" eq 'axa aaa a'; print "ok 5\n";
$a = $t;
print "#'$a' '@res'\nnot " unless "$a @res" eq 'axxxx aaa a aaa aa'; print "ok 6\n";
$a = $t;
print "#'$a' '@res'\nnot " unless "$a @res" eq 'axx aaa a aaa aa'; print "ok 7\n";
$a = $t;
print "#'$a' '@res'\nnot " unless "$a @res" eq 'axxa aaa a'; print "ok 8\n";
$a = $t;
print "#'$a' '@res'\nnot " unless "$a @res" eq 'axa aaa a'; print "ok 9\n";
$a = $t;
print "#'$a' '@res'\nnot " unless "$a @res" eq 'axxxx aaa a aaa aa'; print "ok 10\n";
$a = $t;
print "#'$a' '@res'\nnot " unless "$a @res" eq 'axx aaa a aaa aa'; print "ok 11\n";
$a = $t;
print "#'$a' '@res'\nnot " unless "$a @res" eq 'axxa aaa a'; print "ok 12\n";
$a = $t;
print "#'$a' '@res'\nnot " unless "$a @res" eq 'axa aaa a'; print "ok 13\n";