fish-shell/tests/checks
Soumya 96563d6eff jobs: suppress "No suitable job" if -q is given
This allows code of the form `if jobs -q $some_pid` in scripts to check whether a previously started job is still running. Previously this would return the correct value, but also print an error message.

The invalid argument errors will still be printed.
Added test cases for both.
2020-03-26 17:09:09 +01:00
..
broken-config/fish Port config tests to littlecheck 2019-06-25 22:31:06 +02:00
abbr.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
alias.fish alias: Use read --tokenize 2019-12-01 18:14:26 +01:00
andandoror.fish Run fish_indent on all our fish scripts 2020-01-13 20:34:22 +01:00
andor.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
argparse.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
bad-option.fish Fix typo in bad options test 2020-02-08 13:30:48 +01:00
basic.fish Port "test9" to littlecheck 2020-03-17 21:19:41 +01:00
bind.fish Port bind tests to littlecheck 2019-06-26 21:19:40 +02:00
braces.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
broken-config.fish Port config tests to littlecheck 2019-06-25 22:31:06 +02:00
builtinbuiltin.fish Port some smaller tests to littlecheck 2020-02-08 09:31:49 +01:00
caller-observer.fish Fix up --on-job-exit caller 2020-02-08 16:23:25 -08:00
cd.fish Tests: Don't remove a parent of $PWD 2020-01-30 17:34:48 +01:00
check-all-fish-files.fish Add check to test all fish files with -n 2020-02-26 19:15:50 +01:00
cmdsub-limit.fish Rationalize $status and errors 2020-01-25 17:28:41 -08:00
colon-delimited-var.fish Clean up how PATH and CDPATH munging occurs 2019-11-02 16:48:08 -07:00
command-1.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
command-2.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
command-vars-persist.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
complete.fish Invert test for implicit cd after builtin command 2020-03-24 22:02:27 +01:00
complete_directories.fish Revert complete_directories change 2020-03-17 21:45:49 +01:00
contains_opt.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
count.fish Port count test to littlecheck 2019-06-26 21:19:40 +02:00
deep-cmdsub.fish Add a test for deep command substitutions 2020-01-18 11:50:50 -08:00
directory-redirect.fish Fix tests 2020-01-19 15:07:06 +01:00
disown-parent.fish Add a tricky test to verify disowning an in-flight job 2019-12-08 11:44:21 -08:00
empty.fish Run fish_indent on all our fish scripts 2020-01-13 20:34:22 +01:00
env.fish Correctly mark a node when erasing an exported variable 2019-06-28 11:22:49 -07:00
eval.fish Rationalize $status and errors 2020-01-25 17:28:41 -08:00
exec.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
exit-status-with-closing-stderr.fish Run fish_indent on all our fish scripts 2020-01-13 20:34:22 +01:00
expansion.fish Port expansion test to littlecheck 2020-03-16 21:21:10 +01:00
fds.fish Correctly handle "self fd redirections" 2019-12-13 16:51:49 -08:00
features-nocaret1.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
features-nocaret2.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
features-nocaret3.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
features-nocaret4.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
features-nocaret5.fish Readd ^&1 redirection 2020-02-14 20:28:46 +01:00
features-qmark1.fish Port qmark1 test to littlecheck 2019-06-25 22:31:06 +02:00
features-qmark2.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
features-string-backslashes-off.fish tests, CHANGELOG: regex-easyesc 2019-08-13 22:56:31 -07:00
features-string-backslashes.fish tests, CHANGELOG: regex-easyesc 2019-08-13 22:56:31 -07:00
for.fish Don't overwrite unrelated variables with for-loop-variables 2020-01-08 09:10:14 +01:00
function-definition.fish Properly print leading comments and indentation in functions 2020-01-03 14:40:28 -08:00
function.fish Reindent final check 2020-03-09 19:46:43 +01:00
functions.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
history.fish Port history tests to littlecheck 2020-02-07 20:53:20 +01:00
indent.fish Port fish_indent tests to littlecheck 2020-03-16 21:21:10 +01:00
init-command-2.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
init-command-mix-ordering.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
init-command-mix.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
init-command.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
init-unreadable-cwd.fish Ignore unreadable cwd error harder 2020-02-14 20:09:07 +01:00
interactive.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
invocation.fish Rationalize $status and errors 2020-01-25 17:28:41 -08:00
job-control-noninteractive.fish Improve support for job control in non-interactive scenarios 2020-01-30 15:18:10 -08:00
job-ids.fish tests/job-ids: Wait for job to die 2020-01-25 14:06:34 +01:00
jobs.fish jobs: suppress "No suitable job" if -q is given 2020-03-26 17:09:09 +01:00
line-continuation.fish Reformat fish scripts with escaped newline changes to fish_indent 2020-03-15 21:01:11 +01:00
line-number.fish Fix line numbers in functions 2019-11-26 18:12:24 +01:00
locale.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
login-interactive.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
login.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
loops.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
math.fish math: Complain about unknown *function*, not *variable* 2020-02-07 17:43:22 +01:00
no-execute.fish Don't time --no-execute 2020-02-17 11:39:53 +01:00
no-login-no-interactive.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
pipeline-pgroup.fish Revert "Revert "Enable job-control in pipeline-pgroup test"" 2020-03-02 14:01:59 -08:00
pipestatus.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
printf.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
psub.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
random.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
rc-returned.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
read.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
realpath.fish Force symlink creation in realpath tests 2019-12-18 12:31:24 -06:00
redirect.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
scoping.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
self-signal-usr1.fish Stop storing block_io in job_t 2019-12-11 16:34:20 -08:00
set.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
setenv.fish Port setenv tests to littlecheck 2019-07-09 10:02:50 -07:00
sigint.fish Run fish_indent on all our fish scripts 2020-01-13 20:34:22 +01:00
sigint2.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
signal.fish Run fish_indent on all our fish scripts 2020-01-13 20:34:22 +01:00
slices.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
stack-overflow.fish Remove the forbidden function stack 2019-11-10 12:36:46 -08:00
status-command.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
status-value.fish Rationalize $status and errors 2020-01-25 17:28:41 -08:00
status.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
string.fish Add string sub --end (#6765) 2020-03-22 15:53:09 +01:00
switch.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
test.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
threads.fish Reindent functions to remove useless quotes 2020-03-09 19:46:43 +01:00
time.fish List time as builtin, support time --help 2020-02-23 23:42:57 +01:00
trace.fish Add support for fish_trace variable to trace execution 2019-11-02 14:40:57 -07:00
umask.fish Port umask tests to littlecheck 2020-03-16 21:21:10 +01:00
variable-assignment.fish use variable assignments on commandline in completions 2020-01-17 14:53:35 +01:00
vars_as_commands.fish Port some smaller tests to littlecheck 2020-02-08 09:31:49 +01:00
version.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
wildcard.fish Return glob ordering to pre-3.1 state 2020-02-14 19:06:19 +01:00
wraps.fish Amend typos and grammar errors 2019-11-25 13:07:15 +01:00
zero_based_array.fish Port some smaller tests to littlecheck 2020-02-08 09:31:49 +01:00