# file : tests/test/script/runner/cat.test # copyright : Copyright (c) 2014-2016 Code Synthesis Ltd # license : MIT; see accompanying LICENSE file # @@ I think these should be run indirectly (via cat & build) # for cross-testing to work (we want to run the via the build # system we built, not the one we used to acomplish this. : in : cat <>EOO foo bar EOI foo bar EOO : dash : cat - <>EOO foo bar EOI foo bar EOO : file : cat <>>out; foo bar EOI cat out >>EOO foo bar EOO : in-repeat : cat - <>EOO foo bar EOI foo bar EOO : non-existent : cat in 2>- != 0 # @@ REGEX : empty-path : : Cat an empty path. : cat '' 2>"cat: invalid path ''" == 1 # @@ When piping is ready test cat on a big file to test it is asynchronous. #