Skip to content

Commit

Permalink
Add two tests for multipipe blocks
Browse files Browse the repository at this point in the history
that include one process.
Make test using std cat portable
Fix issues #89, #90
  • Loading branch information
mfragkoulis committed Aug 11, 2017
1 parent 74af9f5 commit e966cba
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
Empty file.
Empty file.
15 changes: 11 additions & 4 deletions unix-tools/run_all_simple_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,25 @@ PSDIR=$1

set -e

./run_simple_test.sh $PSDIR multipipe_one_last \
'cat /dev/null | {{ cat & }}'

./run_simple_test.sh $PSDIR multipipe_one_start \
'{{ cat /dev/null & }} | cat'

CAT=`which cat`
./run_simple_test.sh $PSDIR function_bash_tools \
'function h
"function h
{
/bin/cat | /bin/cat
$CAT | $CAT
}
function g
{
/bin/cat | h | /bin/cat
$CAT | h | $CAT
}
/bin/cat /dev/null | g'
$CAT /dev/null | g"

./run_simple_test.sh $PSDIR function_dgsh_tools \
'function h
Expand Down

0 comments on commit e966cba

Please sign in to comment.