diff --git a/projects/rigaux.org/hexedit/package.yml b/projects/rigaux.org/hexedit/package.yml index e0fddfbfdb..0a43d1526e 100644 --- a/projects/rigaux.org/hexedit/package.yml +++ b/projects/rigaux.org/hexedit/package.yml @@ -18,9 +18,14 @@ build: make install test: - true - # FIXME: curses tool, no --version, --help is exit code 1 - # hexedit -h + # hexedit -h shows usage and exits 1 (as noted in the previous FIXME). + # It's a curses tool, output checks are unreliable. + # Checking the documented exit code is the simplest robust test. + script: + # The `!` negates the exit status. + # This command succeeds if `hexedit -h` exits non-zero. + - run: "! hexedit -h >/dev/null 2>&1" + provides: - bin/hexedit