Project

General

Profile

Defect #42024 ยป 0001-Skip-failing-Bazaar-tests-on-Ubuntu-24.04.patch

Katsuya HIDAKA, 2024-12-25 14:12

View differences:

test/unit/repository_bazaar_test.rb
165 165
    end
166 166

  
167 167
    if File.directory?(REPOSITORY_PATH_NON_ASCII) && RUN_LATIN1_OUTPUT_TEST
168
      # https://www.redmine.org/issues/42024
169
      def skip_bzr_failure_on_ubuntu24
170
        skip 'bzr command fails on Ubuntu 24.04, causing this test to fail'
171
      end
172

  
168 173
      def test_cat_latin1_path
174
        skip_bzr_failure_on_ubuntu24
175

  
169 176
        latin1_repo = create_latin1_repo
170 177
        buf =
171 178
          latin1_repo.cat(
......
186 193
      end
187 194

  
188 195
      def test_annotate_latin1_path
196
        skip_bzr_failure_on_ubuntu24
197

  
189 198
        latin1_repo = create_latin1_repo
190 199
        ann1 =
191 200
          latin1_repo.annotate(
......
206 215
      end
207 216

  
208 217
      def test_diff_latin1_path
218
        skip_bzr_failure_on_ubuntu24
219

  
209 220
        latin1_repo = create_latin1_repo
210 221
        diff1 =
211 222
          latin1_repo.diff(
......
217 228
      end
218 229

  
219 230
      def test_entries_latin1_path
231
        skip_bzr_failure_on_ubuntu24
232

  
220 233
        latin1_repo = create_latin1_repo
221 234
        entries = latin1_repo.entries("test-#{CHAR_1_UTF8_HEX}-dir", 2)
222 235
        assert_kind_of Redmine::Scm::Adapters::Entries, entries
......
227 240
      end
228 241

  
229 242
      def test_entry_latin1_path
243
        skip_bzr_failure_on_ubuntu24
244

  
230 245
        latin1_repo = create_latin1_repo
231 246
        ["test-#{CHAR_1_UTF8_HEX}-dir",
232 247
         "/test-#{CHAR_1_UTF8_HEX}-dir",
......
245 260
      end
246 261

  
247 262
      def test_changeset_latin1_path
263
        skip_bzr_failure_on_ubuntu24
264

  
248 265
        latin1_repo = create_latin1_repo
249 266
        assert_equal 0, latin1_repo.changesets.count
250 267
        latin1_repo.fetch_changesets
    (1-1/1)