mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-22 16:53:26 +08:00

Prior to 1811a2d, the return value for negative return codes was UB and I'd witnessed both expected cases like -256 mapping to a $status of 0 and unexpected cases like a return value of -1 mapping to a $status of 0. As such, this doesn't test just one fixed return value but the entire range from negative multiples of 256 all the way down (rather, up!) to -1.