dcavalca / rpms / util-linux

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