mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 03:16:00 +08:00
11 lines
159 B
Fish
11 lines
159 B
Fish
|
#RUN: %fish %s
|
||
|
|
||
|
not true
|
||
|
echo $status
|
||
|
# CHECK: 1
|
||
|
|
||
|
# Two "not" prefixes on a single job cancel each other out.
|
||
|
not not sh -c 'exit 34'
|
||
|
echo $status
|
||
|
# CHECK: 34
|