summaryrefslogtreecommitdiff
path: root/test/mkrc-copy-file.t
blob: 45e63d35c672c1b99d666794576780e9fa4ae4d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  $ . "$TESTDIR/helper.sh"

Passing -C should copy the file

  $ echo 'Content' > .example

  $ mkrc -C .example >/dev/null

  $ refute "should not be a symlink" -h $HOME/.example

  $ cat $HOME/.example
  Content

  $ cat $HOME/.dotfiles/example
  Content