diff options
author | P. J. McDermott <pjm@nac.net> | 2013-05-27 06:23:55 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-05-27 06:23:55 (EDT) |
commit | aaac3bf839cfd8027a8d01fb8af3323d4ea07dce (patch) | |
tree | 8ba37f6fcd241ba691bf34602c9d5499e0b1e5f1 /tests/t_installfiles_busybox_links | |
parent | b1e208d0a180a4f8d7a721511f2ad343164bce5f (diff) |
t_installfiles_busybox_links: New test.
Diffstat (limited to 'tests/t_installfiles_busybox_links')
-rw-r--r-- | tests/t_installfiles_busybox_links | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/t_installfiles_busybox_links b/tests/t_installfiles_busybox_links new file mode 100644 index 0000000..19f42d8 --- /dev/null +++ b/tests/t_installfiles_busybox_links @@ -0,0 +1,20 @@ +#!/bin/sh + +mkdir foo.pkg +cat >foo.pkg/files <<-EOF + /bin + EOF + +mkdir -p tmp/dest/bin +>tmp/dest/bin/busybox +chmod u+s tmp/dest/bin/busybox +ln -sf busybox tmp/dest/bin/ash +ln -sf busybox tmp/dest/bin/bbconfig + +cd tmp +OPK_PACKAGES='foo' oh-installfiles +assert test_non_dir_nodes dest +assert test_nodes foo.data / /bin/ /bin/busybox* /bin/ash@ /bin/bbconfig@ +cd .. + +rm -Rf foo.pkg tmp |