From a01e08d6ee5f38338d7779c44cff82c4d069ef21 Mon Sep 17 00:00:00 2001 From: Florian Tham Date: Fri, 24 Feb 2017 23:17:18 +0100 Subject: rcup: handle directory names containing whitespace This commit fixes #197. --- test/rcup-spaces.t | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/rcup-spaces.t (limited to 'test/rcup-spaces.t') diff --git a/test/rcup-spaces.t b/test/rcup-spaces.t new file mode 100644 index 0000000..00c50be --- /dev/null +++ b/test/rcup-spaces.t @@ -0,0 +1,10 @@ + $ . "$TESTDIR/helper.sh" + +Should create symlinks for files in directories with whitespace in their names + + $ mkdir .dotfiles/sub\ dir + > touch .dotfiles/sub\ dir/example + + $ rcup >/dev/null + + $ assert_linked "$HOME/.sub dir/example" "$HOME/.dotfiles/sub dir/example" -- cgit v1.2.3