diff --git a/projects/midnight-commander.org/package.yml b/projects/midnight-commander.org/package.yml index 66277790..5e7341d1 100644 --- a/projects/midnight-commander.org/package.yml +++ b/projects/midnight-commander.org/package.yml @@ -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