Feature Pulled
- Removed the feature that allows commands to be piped in to stdin, and appended to any existing command line. This feature is conditionally compiled, controlled by the FEATURE_STDIN define in main.h - Many unit tests contained "echo '-- y'", and now use "echo 'y'" because the '--' is no longer supported on stdin. - Thanks to the IRC team for testing, including Bryce Harrington, Sam Stuck, Owen Clarke, Greg Grossmeier.
This commit is contained in:
@@ -44,10 +44,10 @@ my $output = qx{../src/task rc:bug.rc 1 annotate};
|
||||
like ($output, qr/Additional text must be provided/, 'failed on blank annotation');
|
||||
|
||||
# Attempt an annotation without ID
|
||||
$output = qx{echo "-- n" | ../src/task rc:bug.rc annotate bar};
|
||||
$output = qx{echo "n" | ../src/task rc:bug.rc annotate bar};
|
||||
like ($output, qr/Command prevented from running/, 'Filter-less write command inhibited');
|
||||
|
||||
$output = qx{echo "-- y" | ../src/task rc:bug.rc annotate bar};
|
||||
$output = qx{echo "y" | ../src/task rc:bug.rc annotate bar};
|
||||
unlike ($output, qr/Command prevented from running/, 'Filter-less write command permitted');
|
||||
|
||||
# Cleanup.
|
||||
|
||||
Reference in New Issue
Block a user