mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-22 15:37:59 +00:00
DSL tee/print pipe-redirect UT
This commit is contained in:
parent
86459221e0
commit
945084950e
3 changed files with 241 additions and 213 deletions
|
|
@ -346,9 +346,9 @@ reg-test:
|
|||
# Run this after unit-test expected output has changed, and is verified to be
|
||||
# OK. (Example: after adding new test cases in test/run.)
|
||||
regtest-copy:
|
||||
cp output/out reg_test/expected
|
||||
cp output-regtest/out reg_test/expected
|
||||
regtest-copy-dev:
|
||||
cp output/out-dev reg_test/expected
|
||||
cp output-regtest/out-dev reg_test/expected
|
||||
|
||||
# ----------------------------------------------------------------
|
||||
# Unit-test executables
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -3469,6 +3469,8 @@ run_mlr cat -n $tee2/out.pan
|
|||
run_mlr cat -n $tee2/out.wye
|
||||
run_mlr cat -n $tee2/out.zee
|
||||
|
||||
run_mlr put -q 'tee | "tr \[a-z\] \[A-Z\]", $*' $indir/abixy
|
||||
|
||||
# ----------------------------------------------------------------
|
||||
announce DSL PRINT REDIRECTS
|
||||
|
||||
|
|
@ -3496,6 +3498,8 @@ run_mlr cat -n $print1/out.pan
|
|||
run_mlr cat -n $print1/out.wye
|
||||
run_mlr cat -n $print1/out.zee
|
||||
|
||||
run_mlr put -q 'print | "tr \[a-z\] \[A-Z\]", "abi:".$a.$b.$i' $indir/abixy
|
||||
|
||||
# ----------------------------------------------------------------
|
||||
announce DSL PRINTN REDIRECTS
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue