blob: 503afc40759d7d71bf619d609a870d161680f4f5 (
plain) (
tree)
|
|
#!/bin/sh
header "bosun rebuild"
mkdir "$BOSUN_DIR/app-foo/package.accept_keywords" || exit 1
touch "$BOSUN_DIR/app-foo/package.accept_keywords/30-app-foo" || exit 1
assert success "rebuild app-foo" "$BOSUN_CMD" rebuild app-foo
want <<EOF
./package.accept_keywords/20-service-bar -> ../stow/service-bar/package.accept_keywords/20-service-bar
./package.accept_keywords/30-app-foo -> ../stow/app-foo/package.accept_keywords/30-app-foo
./package.use/20-service-bar -> ../stow/service-bar/package.use/20-service-bar
./package.use/30-app-foo -> ../stow/app-foo/package.use/30-app-foo
EOF
have_links
assert_output_matches "rebuilds role"
end
|