File: canonifier.test

package info (click to toggle)
btest 0.72-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,208 kB
  • sloc: python: 2,187; sh: 547; makefile: 165; xml: 12; awk: 1
file content (14 lines) | stat: -rw-r--r-- 374 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# %TEST-EXEC: chmod +x test-canonifier
# %TEST-EXEC: btest -d %INPUT

%TEST-START-FILE Baseline/canonifier/output
ABC 123 DEF
%TEST-END-FILE

%TEST-START-FILE test-canonifier
sed 's/[0-9][0-9][0-9]/XXX/g'
%TEST-END-FILE

@TEST-EXEC: echo ABC 890 DEF >output
@TEST-EXEC-FAIL: btest-diff output
@TEST-EXEC: TEST_DIFF_CANONIFIER="sh -c ../../test-canonifier" btest-diff output