From acac80c00310c5c0fac7a5e91be5ea64a9521281 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Sun, 28 Jan 2024 00:50:37 -0500 Subject: [PATCH] fix(mc) closes #5008 --- projects/midnight-commander.org/package.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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