closes #5008
This commit is contained in:
Jacob Heider 2024-01-28 00:50:37 -05:00 committed by Jacob Heider
parent b695b24619
commit acac80c003

View file

@ -51,5 +51,10 @@ build:
- --with-screen=ncurses
# FIXME: hard to test interactive tools
test: test "$(mc --datadir | cut -d ' ' -f1 | cut -d':' -f1)" = "{{prefix}}/etc/mc/"
test:
env:
TERM: vt100 # needs $TERM set to run
script:
- mc --datadir
- test "$(mc --datadir | cut -d ' ' -f1 | cut -d':' -f1)" = "{{prefix}}/etc/mc/"
# ^^ tests relocatability