fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
b531cc8b4
master
1# RUN: env fish_test_helper=%fish_test_helper %fish %s 2#REQUIRES: command -v %fish_test_helper 3 4# Ensure that a job which attempts to disown itself does not explode. 5# Here fish_test_helper is the process group leader; we attempt to disown 6# its pid within a pipeline containing it. 7 8function disowner 9read -l pid 10echo Disown$pid 11disown $pid 12end 13$fish_test_helper print_pid_then_sleep| disowner 14 15# CHECK: Disown {{\d+}}