mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-08 10:51:15 -03:00
With a few exceptions, only one test is added for a given message, even when there are multiple ways to trigger the same message (e.g. different invalid option combinations, or triggered in shared functions such as `builtin_unknown_option`) Includes a few very minor fixes, such as missing a newline, or using the wrong var name. Closes #12603
12 lines
248 B
Fish
12 lines
248 B
Fish
# RUN: %fish %s
|
|
|
|
bg 0
|
|
# CHECKERR: bg: '0' is not a valid process ID
|
|
bg -- -1
|
|
# CHECKERR: bg: '-1' is not a valid process ID
|
|
bg -- -(math 2 ^ 31)
|
|
# CHECKERR: bg: '-2147483648' is not a valid process ID
|
|
|
|
bg
|
|
# CHECKERR: bg: There are no suitable jobs
|