...
1# Check that we support both txt and txtar extensions.
2
3unquote scripts/testscript.txt
4unquote testscript-new.txt
5
6cp scripts/testscript.txt scripts/testscript2.txtar
7
8testscript -update scripts
9cmp scripts/testscript.txt testscript-new.txt
10cmp scripts/testscript2.txtar testscript-new.txt
11
12-- scripts/testscript.txt --
13>fprintargs stdout right
14>cmp stdout expect
15>
16>-- expect --
17>wrong
18-- testscript-new.txt --
19>fprintargs stdout right
20>cmp stdout expect
21>
22>-- expect --
23>right
View as plain text