cdown / rpms / util-linux

Forked from rpms/util-linux 2 years ago
Clone

Blame SOURCES/0084-tests-update-atari-partx-tests.patch

3d071d
From cf74ece6486dabfd4b84c90435348c04ff72ef54 Mon Sep 17 00:00:00 2001
3d071d
From: Karel Zak <kzak@redhat.com>
3d071d
Date: Tue, 13 Oct 2020 18:34:39 +0200
3d071d
Subject: tests: update atari partx tests
3d071d
3d071d
Upstream: http://github.com/util-linux/util-linux/commit/017c0308c7d3b0d84bfc11e5863220bc32d640ba
3d071d
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=2060030
3d071d
Signed-off-by: Karel Zak <kzak@redhat.com>
3d071d
---
3d071d
 tests/expected/partx/partx-image-atari-icd     |  7 -------
3d071d
 tests/expected/partx/partx-image-atari-primary |  2 ++
3d071d
 tests/expected/partx/partx-image-atari-xgm     | 10 +++-------
3d071d
 3 files changed, 5 insertions(+), 14 deletions(-)
3d071d
 delete mode 100644 tests/expected/partx/partx-image-atari-icd
3d071d
 create mode 100644 tests/expected/partx/partx-image-atari-primary
3d071d
3d071d
diff --git a/tests/expected/partx/partx-image-atari-icd b/tests/expected/partx/partx-image-atari-icd
3d071d
deleted file mode 100644
3d071d
index 8677dff03..000000000
3d071d
--- a/tests/expected/partx/partx-image-atari-icd
3d071d
+++ /dev/null
3d071d
@@ -1,7 +0,0 @@
3d071d
-NR START   END SECTORS   SIZE NAME UUID
3d071d
- 1    65  4096    4032     2M      
3d071d
- 2  4097  5000     904   452K      
3d071d
- 4 12289 16384    4096     2M      
3d071d
- 5  5002  7000    1999 999.5K      
3d071d
- 6  7003 10240    3238   1.6M      
3d071d
- 7 10241 12288    2048     1M      
3d071d
diff --git a/tests/expected/partx/partx-image-atari-primary b/tests/expected/partx/partx-image-atari-primary
3d071d
new file mode 100644
3d071d
index 000000000..044d319be
3d071d
--- /dev/null
3d071d
+++ b/tests/expected/partx/partx-image-atari-primary
3d071d
@@ -0,0 +1,2 @@
3d071d
+NR START   END SECTORS SIZE NAME UUID
3d071d
+ 1     2 10239   10238   5M      
3d071d
diff --git a/tests/expected/partx/partx-image-atari-xgm b/tests/expected/partx/partx-image-atari-xgm
3d071d
index 248d6a56a..557327c04 100644
3d071d
--- a/tests/expected/partx/partx-image-atari-xgm
3d071d
+++ b/tests/expected/partx/partx-image-atari-xgm
3d071d
@@ -1,7 +1,3 @@
3d071d
-NR START   END SECTORS   SIZE NAME UUID
3d071d
- 1    65  4096    4032     2M      
3d071d
- 2  4097  5000     904   452K      
3d071d
- 3  5002  7000    1999 999.5K      
3d071d
- 4  7003 10240    3238   1.6M      
3d071d
- 5 10241 12288    2048     1M      
3d071d
- 6 12289 16384    4096     2M      
3d071d
+NR START   END SECTORS SIZE NAME UUID
3d071d
+ 1     2    10       9 4.5K      
3d071d
+ 2    14 10239   10226   5M      
3d071d
-- 
3d071d
2.36.1
3d071d