Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Side by Side Diff: tests/standalone/io/dart_std_io_pipe_test.sh

Issue 13636003: Fix a number of issues with determining the type of stdio (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tests/standalone/io/dart_std_io_pipe_test.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #! /bin/bash 1 #! /bin/bash
2 2
3 # This script expects the following arguments 3 # This script expects the following arguments
4 # $1: Path to dart executable 4 # $1: Path to dart executable
5 # $2: Path to dart echoing script 5 # $2: Path to dart echoing script
6 # $3: Argument to dart echoing script (0, 1 or 2) 6 # $3: Argument to dart echoing script (0, 1 or 2)
7 # $4: File for output from piping stdout and stderr 7 # $4: File for output from piping stdout and stderr
8 # $5: File prefix for output from redirecting stdout and stderr to a file. 8 # $5: File prefix for output from redirecting stdout and stderr to a file.
9 # $6: Stdio type of stdin
9 10
10 # Test piping and stdio file redirection. 11 # Test piping and stdio file redirection.
11 echo "Hello" | $1 $2 $3 2>&1 | cat - > $4 12 echo "Hello" | $1 $2 $3 pipe pipe pipe 2>&1 | cat - > $4
12 $1 $2 $3 < $4 > $5.stdout 2> $5.stderr 13 $1 $2 $3 $6 file file < $4 > $5.stdout 2> $5.stderr
13 $1 $2 $3 < $4 >> $5.stdout 2>> $5.stderr 14 $1 $2 $3 $6 file file < $4 >> $5.stdout 2>> $5.stderr
15 $1 $2 $3 $6 terminal terminal < $4 > /dev/null 2> /dev/null
16 $1 $2 $3 $6 terminal pipe < $4 2>&1 > /dev/null
17 $1 $2 $3 $6 terminal terminal < $4 > /dev/null 2>&1
OLDNEW
« no previous file with comments | « tests/standalone/io/dart_std_io_pipe_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698