diff options
Diffstat (limited to 'tests/t_installfiles_dir_slash')
-rw-r--r-- | tests/t_installfiles_dir_slash | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/t_installfiles_dir_slash b/tests/t_installfiles_dir_slash new file mode 100644 index 0000000..be4ae42 --- /dev/null +++ b/tests/t_installfiles_dir_slash @@ -0,0 +1,17 @@ +#!/bin/sh + +mkdir foo.pkg +cat >foo.pkg/files <<-EOF + /usr/bin/ + EOF + +mkdir -p tmp/dest/usr/bin +>tmp/dest/usr/bin/foo + +cd tmp +OPK_PACKAGES='foo' oh-installfiles +assert test_non_dir_nodes dest +assert test_nodes foo.data / /usr/ /usr/bin/ /usr/bin/foo +cd .. + +rm -Rf foo.pkg tmp |