diff --git a/tests/modules/programs/man/apropos.nix b/tests/modules/programs/man/apropos.nix index ee30f8f8c..312497c37 100644 --- a/tests/modules/programs/man/apropos.nix +++ b/tests/modules/programs/man/apropos.nix @@ -7,12 +7,8 @@ nmt.script = '' assertFileExists home-files/.manpath - CACHE_DIR=$(cat $TESTED/home-files/.manpath | cut --delimiter=' ' --fields=3) - - if [[ ! -f "$CACHE_DIR/index.bt" ]]; then - fail "Expected man cache files to exist (in $CACHE_DIR) but they were not found." - fi + assertFileExists "$CACHE_DIR/index.db" ''; }; }