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:
Paul Beckingham 2012-03-17 10:46:05 -04:00
parent 80d6655709
commit ac4d90f1f6
18 changed files with 66 additions and 65 deletions

View file

@ -42,12 +42,12 @@ if (open my $fh, '>', 'shell.rc')
}
# Test the prompt.
my $output = qx{echo "-- quit" | ../src/task rc:shell.rc shell};
my $output = qx{echo "quit" | ../src/task rc:shell.rc shell};
like ($output, qr/testprompt>/, 'custom prompt is being used');
# Test a simple add, then info.
qx{echo "-- add foo" | ../src/task rc:shell.rc shell};
$output = qx{echo "-- 1 info" | ../src/task rc:shell.rc shell};
qx{echo "add foo" | ../src/task rc:shell.rc shell};
$output = qx{echo "1 info" | ../src/task rc:shell.rc shell};
like ($output, qr/Description\s+foo/, 'add/info working');
unlink 'shell.rc';