Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf07de94

Browse files
author
Gauvain Pocentek
committed
Test branch creation et deletion
1 parent9c58013 commitf07de94

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

‎tools/functional_tests.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,18 @@ echo -n "Testing adding member to a project... "
100100
$GITLAB project-member create --project-id$PROJECT_ID --user-id$USER_ID --access-level 40>/dev/null2>&1
101101
$OK
102102

103+
echo -n"Creating a file..."
104+
$GITLAB project-file create --project-id$PROJECT_ID --file-path README --branch-name master --content"CONTENT" --commit-message"Initial commit">/dev/null2>&1
105+
$OK
106+
107+
echo -n"Creating a branch..."
108+
$GITLAB project-branch create --project-id$PROJECT_ID --branch-name branch1 --ref master>/dev/null2>&1
109+
$OK
110+
111+
echo -n"Deleting a branch..."
112+
$GITLAB project-branch delete --project-id$PROJECT_ID --name branch1>/dev/null2>&1
113+
$OK
114+
103115
echo -n"Testing project deletion..."
104116
$GITLAB project delete --id$PROJECT_ID
105117
$OK

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp