diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2021-05-07 17:42:14 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2021-05-07 21:17:22 +0200 |
commit | f2ef6d98e6f57924094f438ba27e012a5ea50ae3 (patch) | |
tree | 08c6323fcbda20eee4651c4c468f7eae275dcf68 | |
parent | 37ef2fc9f7709c710692081e7e3be94d7b16d9fa (diff) | |
download | systemd-f2ef6d98e6f57924094f438ba27e012a5ea50ae3.tar.gz |
test: fix partition check in TEST-58-REPART
Follow-up to 1c41c1dc346dd0d5d235fe0866bbe2d9be924dcd.
-rwxr-xr-x | test/units/testsuite-58.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/units/testsuite-58.sh b/test/units/testsuite-58.sh index 13f02f01e3..ae177ac428 100755 --- a/test/units/testsuite-58.sh +++ b/test/units/testsuite-58.sh @@ -44,10 +44,10 @@ systemd-repart --definitions=/tmp/testsuite-58-defs/ \ --seed=750b6cd5c4ae4012a15e7be3c29e6a47 \ /var/tmp/testsuite-58.img -sfdisk --dump /var/tmp/testsuite-58.img >/tmp/testsuite-58.dump +sfdisk --dump /var/tmp/testsuite-58.img | tee /tmp/testsuite-58.dump grep -qxF '/var/tmp/testsuite-58.img1 : start= 2048, size= 20480, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=39107B09-615D-48FB-BA37-C663885FCE67, name="esp"' /tmp/testsuite-58.dump -grep -qxF '/var/tmp/testsuite-58.img2 : start= 22528, size= 20480, type=4F68BCE3-E8CD-4DB1-96E7-FBCAF984B709, uuid=60F33797-1D71-4DCB-AA6F-20564F036CD0, name="root-x86-64"' /tmp/testsuite-58.dump +grep -qxF '/var/tmp/testsuite-58.img2 : start= 22528, size= 20480, type=4F68BCE3-E8CD-4DB1-96E7-FBCAF984B709, uuid=60F33797-1D71-4DCB-AA6F-20564F036CD0, name="root-x86-64", attrs="GUID:59"' /tmp/testsuite-58.dump grep -qxF '/var/tmp/testsuite-58.img3 : start= 43008, size= 20480, type=8484680C-9521-48C6-9C11-B0720656F69E, uuid=7E3369DD-D653-4513-ADF5-B993A9F20C16, name="usr-x86-64", attrs="GUID:60"' /tmp/testsuite-58.dump # Second part, duplicate it with CopyBlocks=auto |