mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-16 05:51:08 +01:00
tests/man: index.bt -> index.db
Looks like the generated cache is now using index.db
This commit is contained in:
parent
ba45438996
commit
76274a2130
1 changed files with 1 additions and 5 deletions
|
|
@ -7,12 +7,8 @@
|
||||||
|
|
||||||
nmt.script = ''
|
nmt.script = ''
|
||||||
assertFileExists home-files/.manpath
|
assertFileExists home-files/.manpath
|
||||||
|
|
||||||
CACHE_DIR=$(cat $TESTED/home-files/.manpath | cut --delimiter=' ' --fields=3)
|
CACHE_DIR=$(cat $TESTED/home-files/.manpath | cut --delimiter=' ' --fields=3)
|
||||||
|
assertFileExists "$CACHE_DIR/index.db"
|
||||||
if [[ ! -f "$CACHE_DIR/index.bt" ]]; then
|
|
||||||
fail "Expected man cache files to exist (in $CACHE_DIR) but they were not found."
|
|
||||||
fi
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue