mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 03:01:15 -03:00
Cleanup of code that decides whether or not to fork. Fix for issue where stderr may be output twice.
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
# ensure that builtins that produce no output can still truncate files
|
||||
# (bug PCA almost reintroduced!)
|
||||
echo "Testing that builtins can truncate files"
|
||||
echo abc > /tmp/file_truncation_test.txt
|
||||
cat /tmp/file_truncation_test.txt
|
||||
echo -n > /tmp/file_truncation_test.txt
|
||||
cat /tmp/file_truncation_test.txt
|
||||
|
||||
# Test events.
|
||||
|
||||
|
||||
# This pattern caused a crash; github issue #449
|
||||
|
||||
set -g var before
|
||||
@@ -25,4 +34,4 @@ end
|
||||
emit test3 foo bar
|
||||
|
||||
# test empty argument
|
||||
emit
|
||||
emit
|
||||
|
||||
Reference in New Issue
Block a user