mirror of
https://github.com/lloeki/apply.git
synced 2025-12-06 17:24:39 +01:00
Get more tests working; make Nix build work
This commit is contained in:
parent
86fa81c411
commit
91d2808bfb
4 changed files with 134 additions and 71 deletions
|
|
@ -96,6 +96,12 @@ testEpochseconds() {
|
|||
}
|
||||
|
||||
testUserHomedir() {
|
||||
# TODO(andrew-d): this doesn't work in the Nix sandbox; detect this and
|
||||
# skip the test for now.
|
||||
if [ "$HOME" = "/homeless-shelter" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
assertEquals "$HOME" "$(user_homedir "$USER")"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue