summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/snapshots/cmdexit.golden6
-rw-r--r--test/snapshots/cmdexit.snap6
2 files changed, 7 insertions, 5 deletions
diff --git a/test/snapshots/cmdexit.golden b/test/snapshots/cmdexit.golden
index de95c383..4e9dc5fc 100644
--- a/test/snapshots/cmdexit.golden
+++ b/test/snapshots/cmdexit.golden
@@ -10,6 +10,6 @@
|19: BGSTARTED
|20: exit 0
== snap letgo grid=120x31 cursor=7,3
-|17: /tmp/pardes-snap/cmdexit/cwd (exec </dev/null >/dev/null 2>&1; sleep 1; false) exit 1 Kill Save Collapse Del
-|21: % exec </dev/null >/dev/null 2>&1; sleep 1; false
-|22: exit 1
+|22: /tmp/pardes-snap/cmdexit/cwd (exec </dev/null >/dev/null 2>&1; sleep 1; false) exit 1 Kill Save Collapse Del
+|23: % exec </dev/null >/dev/null 2>&1; sleep 1; false
+|24: exit 1
diff --git a/test/snapshots/cmdexit.snap b/test/snapshots/cmdexit.snap
index ff60a881..e9f39bfd 100644
--- a/test/snapshots/cmdexit.snap
+++ b/test/snapshots/cmdexit.snap
@@ -16,8 +16,10 @@ release middle 34 4
wait 10000 exit 0
stable 700 15000
snap background
-# line 2, in the same pane now its command is done: its end of file comes at
-# once, and its exit a second later, from `false`
+# line 2, in a second pane: the first's command is done but its background
+# `sleep 30` lives on (job control gives it its own group) and still holds
+# that pane's pty; here the end of file comes at once, and the exit a second
+# later, from `false`
press middle 7 5
drag middle 54 5
release middle 54 5