Welcome to mirror list, hosted at ThFree Co, Russian Federation.

stable9.feature « features « tests - github.com/nextcloud/updater.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a49b62509e584e8c686d04a667a72d80a0e79b25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
Feature: CLI updater - stable9 base

  Scenario: Update is available - 9.0.50 to 9.0.54
    Given the current installed version is 9.0.50
    And there is an update to version 9.0.54 available
    When the CLI updater is run successfully
    And the output should contain "Update successful"
    Then the installed version should be 9.0.54
    And maintenance mode should be off
    And upgrade is not required

  Scenario: Update is available - 9.0.51 to 9.0.54
    Given the current installed version is 9.0.51
    And there is an update to version 9.0.54 available
    When the CLI updater is run successfully
    And the output should contain "Update successful"
    Then the installed version should be 9.0.54
    And maintenance mode should be off
    And upgrade is not required

  Scenario: Update is available - 9.0.52 to 9.0.54
    Given the current installed version is 9.0.52
    And there is an update to version 9.0.54 available
    When the CLI updater is run successfully
    And the output should contain "Update successful"
    Then the installed version should be 9.0.54
    And maintenance mode should be off
    And upgrade is not required

  Scenario: Update is available - 9.0.53 to 9.0.54
    Given the current installed version is 9.0.53
    And there is an update to version 9.0.54 available
    When the CLI updater is run successfully
    And the output should contain "Update successful"
    Then the installed version should be 9.0.54
    And maintenance mode should be off
    And upgrade is not required

  Scenario: Update is available - 9.0.53 to stable9 daily
    Given the current installed version is 9.0.53
    And there is an update to daily version of stable9 available
    When the CLI updater is run successfully
    And the output should contain "Update successful"
    Then the installed version should be 9.0.54
    And maintenance mode should be off
    And upgrade is not required

  Scenario: Update is available - 9.0.53 to 9.0.55 RC1
    Given the current installed version is 9.0.53
    And there is an update to prerelease version 9.0.55RC1 available
    When the CLI updater is run successfully
    And the output should contain "Update successful"
    Then the installed version should be 9.0.55
    And maintenance mode should be off
    And upgrade is not required

  Scenario: Update is available - 9.0.54 to 9.0.55 RC1
    Given the current installed version is 9.0.54
    And there is an update to prerelease version 9.0.55RC1 available
    When the CLI updater is run successfully
    And the output should contain "Update successful"
    Then the installed version should be 9.0.55
    And maintenance mode should be off
    And upgrade is not required

# TODO running ./occ upgrade when maintenance mode is enabled causes return code of 2 instead of 0 saying that no update is available but the maintenance mode is active
#  Scenario: Update is available - 9.0.54 to stable9 daily
#    Given the current installed version is 9.0.54
#    And there is an update to daily version of stable9 available
#    When the CLI updater is run successfully
#    And the output should contain "Update successful"
#    Then the installed version should be 9.0.54
#    And maintenance mode should be off
#    And upgrade is not required

  Scenario: Update is available - stable9 to stable9 daily
    Given the current installed version is stable9
    And there is an update to daily version of stable9 available
    And the version number is decreased in the config.php to enforce upgrade
    When the CLI updater is run successfully
    And the output should contain "Update successful"
    Then the installed version should be 9.0.54
    And maintenance mode should be off
    And upgrade is not required

  Scenario: Update is available - 9.0.50 to 10.0.1
    Given the current installed version is 9.0.50
    And there is an update to version 10.0.1 available
    When the CLI updater is run successfully
    And the output should contain "Update successful"
    Then the installed version should be 10.0.1
    And maintenance mode should be off
    And upgrade is not required

  Scenario: Update is available - 9.0.51 to 10.0.1
    Given the current installed version is 9.0.51
    And there is an update to version 10.0.1 available
    When the CLI updater is run successfully
    And the output should contain "Update successful"
    Then the installed version should be 10.0.1
    And maintenance mode should be off
    And upgrade is not required

  Scenario: Update is available - 9.0.52 to 10.0.1
    Given the current installed version is 9.0.52
    And there is an update to version 10.0.1 available
    When the CLI updater is run successfully
    And the output should contain "Update successful"
    Then the installed version should be 10.0.1
    And maintenance mode should be off
    And upgrade is not required

  Scenario: Update is available - 9.0.53 to 10.0.1
    Given the current installed version is 9.0.53
    And there is an update to version 10.0.1 available
    When the CLI updater is run successfully
    And the output should contain "Update successful"
    Then the installed version should be 10.0.1
    And maintenance mode should be off
    And upgrade is not required

  Scenario: Update is available - 9.0.53 to 10.0.2RC1
    Given the current installed version is 9.0.53
    And there is an update to prerelease version 10.0.2RC1 available
    When the CLI updater is run successfully
    And the output should contain "Update successful"
    Then the installed version should be 10.0.2
    And maintenance mode should be off
    And upgrade is not required

  Scenario: Update is available - 9.0.54 to 10.0.2RC1
    Given the current installed version is 9.0.54
    And there is an update to prerelease version 10.0.2RC1 available
    When the CLI updater is run successfully
    And the output should contain "Update successful"
    Then the installed version should be 10.0.2
    And maintenance mode should be off
    And upgrade is not required

  Scenario: Update is available - 9.0.54 to stable10 daily
    Given the current installed version is 9.0.54
    And there is an update to daily version of stable10 available
    When the CLI updater is run successfully
    And the output should contain "Update successful"
    Then the installed version should be 10.0.1
    And maintenance mode should be off
    And upgrade is not required