Skip to content

Commit 8f88179

Browse files
committed
tests: Fix/add some constraint checks
In case socket pty, interp are not available Signed-off-by: Steve Bennett <[email protected]>
1 parent 6fd2ff9 commit 8f88179

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tests/interactive.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ source [file dirname [info script]]/testing.tcl
22

33
needs constraint jim
44
needs cmd socket
5+
needs eval "socket pty" {lmap p [socket pty] { $p close }}
56

67
package require expect
78

tests/load.test

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
source [file dirname [info script]]/testing.tcl
22

3-
needs cmd load interp
3+
needs cmd load
4+
needs cmd interp
45

56
# In order to test loadable modules we need a working build-jim-ext
67
# (from the same directory as jimsh).

0 commit comments

Comments
 (0)