diff options
Diffstat (limited to 'tests/05_symlink_add_remove.sh')
-rwxr-xr-x | tests/05_symlink_add_remove.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/05_symlink_add_remove.sh b/tests/05_symlink_add_remove.sh index 147b8f0..5e841bf 100755 --- a/tests/05_symlink_add_remove.sh +++ b/tests/05_symlink_add_remove.sh @@ -11,13 +11,13 @@ TEST_TOOLS=$3 ############# Test specific code ############ -function setup { +setup () { ln -s /foo $ORIGIN/remove && \ ln -s /bar $TARGET/add && \ chown -h :cdrom $TARGET/add } -function check_results { +check_results () { test -L $ORIGIN/add && \ test ! -L $ORIGIN/remove && \ check_symlink $ORIGIN/add "/bar" && \ |