go-mtree/test/cli
Aleksa Sarai 704d91fc7c
keywords: safely encode symlink keywords
symlink(2) is a very dumb syscall, and allows you to put any damn value
you please inside a symlink. In addition, spaces are valid path
characters which causes issues with keyword parsing. So use Vis() and
Unvis() to safely store an encoded version of the path.

This also adds a cli test for this behaviour.

Signed-off-by: Aleksa Sarai <asarai@suse.de>
2016-11-12 01:52:37 +11:00
..
0001.sh test: add basic cli test 2016-11-07 10:40:12 -05:00
0002.sh keywords: safely encode symlink keywords 2016-11-12 01:52:37 +11:00