| 1 |
$ . "$TESTDIR/helper.sh" |
| 2 |
|
| 3 |
Should include entries that match hostname |
| 4 |
|
| 5 |
$ touch .dotfiles/example |
| 6 |
> mkdir .dotfiles/host-$(hostname) |
| 7 |
> touch .dotfiles/host-$(hostname)/h-example |
| 8 |
> mkdir .dotfiles/host-not-hostname |
| 9 |
> touch .dotfiles/host-not-hostname/nh-example |
| 10 |
|
| 11 |
$ lsrc |
| 12 |
/*/.h-example:/*/.dotfiles/host-*/h-example (glob) |
| 13 |
/*/.example:/*/.dotfiles/example (glob) |
| 14 |
|
| 15 |
$ lsrc -B not-hostname |
| 16 |
/*/.nh-example:/*/.dotfiles/host-*/nh-example (glob) |
| 17 |
/*/.example:/*/.dotfiles/example (glob) |