@@ -73,7 +73,7 @@ usage: action.sh [OPTION]...
73
73
assert_success
74
74
assert_output " " # No warnings due to spaces
75
75
assert_program_args " setup_ssh" " --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security --ssh-private-key SSH KEY --ssh-known-host HOST_KEY"
76
- assert_program_args " rsync_docs" " --ssh-host USER@HOST --ssh-host-path /opt/www/domains/spring.io/docs/htdocs/spring-security/reference/ --local-path SITE_PATH --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security --build-ref-name \"\" "
76
+ assert_program_args " rsync_docs" " --ssh-host USER@HOST --ssh-host-path /opt/www/domains/spring.io/docs/htdocs/spring-security/reference/ --local-path SITE_PATH --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security"
77
77
assert_program_args " cleanup_ssh" " --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security"
78
78
79
79
unstub --allow-missing setup_ssh.sh
@@ -98,7 +98,7 @@ usage: action.sh [OPTION]...
98
98
assert_success
99
99
assert_output " " # No warnings due to spaces
100
100
assert_program_args " setup_ssh" " --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security --ssh-private-key SSH_KEY --ssh-known-host HOST KEY"
101
- assert_program_args " rsync_docs" " --ssh-host USER@HOST --ssh-host-path /opt/www/domains/spring.io/docs/htdocs/spring-security/reference/ --local-path SITE_PATH --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security --build-ref-name \"\" "
101
+ assert_program_args " rsync_docs" " --ssh-host USER@HOST --ssh-host-path /opt/www/domains/spring.io/docs/htdocs/spring-security/reference/ --local-path SITE_PATH --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security"
102
102
assert_program_args " cleanup_ssh" " --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security"
103
103
104
104
unstub --allow-missing setup_ssh.sh
@@ -122,7 +122,7 @@ usage: action.sh [OPTION]...
122
122
123
123
assert_success
124
124
assert_program_args " setup_ssh" " --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security --ssh-private-key KEY --ssh-known-host HOST_KEY"
125
- assert_program_args " rsync_docs" " --ssh-host USER@HOST --ssh-host-path /opt/www/domains/spring.io/docs/htdocs/spring-security/reference/ --local-path SITE_PATH --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security --build-ref-name \"\" "
125
+ assert_program_args " rsync_docs" " --ssh-host USER@HOST --ssh-host-path /opt/www/domains/spring.io/docs/htdocs/spring-security/reference/ --local-path SITE_PATH --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security"
126
126
assert_program_args " cleanup_ssh" " --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security"
127
127
128
128
unstub --allow-missing setup_ssh.sh
@@ -139,7 +139,7 @@ usage: action.sh [OPTION]...
139
139
140
140
assert_success
141
141
assert_program_args " setup_ssh" " --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security --ssh-private-key KEY --ssh-known-host HOST_KEY"
142
- assert_program_args " rsync_docs" " --ssh-host USER@HOST --ssh-host-path /opt/www/domains/spring.io/docs/htdocs/spring-security/reference/ --local-path build/site --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security --build-ref-name \"\" "
142
+ assert_program_args " rsync_docs" " --ssh-host USER@HOST --ssh-host-path /opt/www/domains/spring.io/docs/htdocs/spring-security/reference/ --local-path build/site --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security"
143
143
assert_program_args " cleanup_ssh" " --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security"
144
144
}
145
145
@@ -153,7 +153,7 @@ usage: action.sh [OPTION]...
153
153
154
154
assert_success
155
155
assert_program_args " setup_ssh" " --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security --ssh-private-key KEY --ssh-known-host HOST_KEY"
156
- assert_program_args " rsync_docs" " --ssh-host USER@HOST --ssh-host-path /opt/www/domains/spring.io/docs/htdocs/spring-security/reference/ --local-path $BATS_TEMP_DIR --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security --build-ref-name \"\" "
156
+ assert_program_args " rsync_docs" " --ssh-host USER@HOST --ssh-host-path /opt/www/domains/spring.io/docs/htdocs/spring-security/reference/ --local-path $BATS_TEMP_DIR --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security"
157
157
assert_program_args " cleanup_ssh" " --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security"
158
158
}
159
159
@@ -166,7 +166,7 @@ usage: action.sh [OPTION]...
166
166
167
167
assert_success
168
168
assert_program_args " setup_ssh" " --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security --ssh-private-key KEY --ssh-known-host HOST_KEY"
169
- assert_program_args " rsync_docs" " --ssh-host USER@HOST --ssh-host-path /opt/www/domains/spring.io/docs/htdocs/spring-security/reference/ --local-path SITE_PATH --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security --build-ref-name \"\" -- dry-run"
169
+ assert_program_args " rsync_docs" " --ssh-host USER@HOST --ssh-host-path /opt/www/domains/spring.io/docs/htdocs/spring-security/reference/ --local-path SITE_PATH --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security --dry-run"
170
170
assert_program_args " cleanup_ssh" " --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security"
171
171
172
172
unstub --allow-missing setup_ssh.sh
@@ -185,7 +185,7 @@ usage: action.sh [OPTION]...
185
185
186
186
assert_success
187
187
assert_program_args " setup_ssh" " --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security --ssh-private-key KEY --ssh-known-host HOST_KEY"
188
- assert_program_args " rsync_docs" " --ssh-host USER@HOST --ssh-host-path /opt/www/domains/spring.io/docs/htdocs/spring-security/reference/ --local-path SITE_PATH --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security --build-ref-name \" 6.1.x\" --dry-run"
188
+ assert_program_args " rsync_docs" " --ssh-host USER@HOST --ssh-host-path /opt/www/domains/spring.io/docs/htdocs/spring-security/reference/ --local-path SITE_PATH --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security --build-ref-name 6.1.x --dry-run"
189
189
assert_program_args " cleanup_ssh" " --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security"
190
190
191
191
unstub --allow-missing setup_ssh.sh
@@ -205,7 +205,7 @@ usage: action.sh [OPTION]...
205
205
assert_program_args " setup_ssh" " --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security --ssh-private-key KEY --ssh-known-host HOST_KEY"
206
206
assert_program_args " ssh" " -i $HOME /.ssh/spring-projects/spring-security USER@HOST bash -s -- --github-repository \" spring-projects/spring-security\" --ssh-docs-path \" /opt/www/domains/spring.io/docs/htdocs/security/reference/\" "
207
207
assert_regex " $( get_program_stdin ' ssh' ) " ' check_github_repository_owner'
208
- assert_program_args " rsync_docs" " --ssh-host USER@HOST --ssh-host-path /opt/www/domains/spring.io/docs/htdocs/security/reference/ --local-path SITE_PATH --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security --build-ref-name \"\" "
208
+ assert_program_args " rsync_docs" " --ssh-host USER@HOST --ssh-host-path /opt/www/domains/spring.io/docs/htdocs/security/reference/ --local-path SITE_PATH --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security"
209
209
assert_program_args " cleanup_ssh" " --ssh-private-key-path $HOME /.ssh/spring-projects/spring-security"
210
210
211
211
unstub --allow-missing setup_ssh.sh
0 commit comments