fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
28c7e7173
master
1#!/usr/bin/env python3 2from pexpect_helper import SpawnedProc 3import os ,sys 4 5if "CI" in os .environ : 6sys .exit (127 ) 7 8sp = SpawnedProc (timeout = 2 ) 9send ,sendline ,sleep ,expect_prompt = ( 10sp .send , 11sp .sendline , 12sp .sleep , 13sp .expect_prompt , 14) 15 16# Verify that the fish_indent builtin can be interrupted with ctrl-c. 17expect_prompt () 18sendline ("fish_indent" ) 19sleep (0.1 ) 20send ("\x03" )# ctrl-c 21expect_prompt ()