dcavalca / rpms / util-linux

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