deja-vu/core/src/tests/sample_output.rs

301 lines
9.2 KiB
Rust

// This file is part of Deja-vu.
//
// Deja-vu is free software: you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Deja-vu is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Deja-vu. If not, see <https://www.gnu.org/licenses/>.
//
#[allow(dead_code)]
pub static DETAIL_DISK_GPT: &str = "Disk 2 is now the selected disk.
Red Hat VirtIO SCSI Disk Device
Disk ID: {7EBCAB6D-5D60-4C08-8EBC-D212A0DAF53F}
Type : SCSI
Status : Online
Path : 0
Target : 0
LUN ID : 0
Location Path : PCIROOT(0)#PCI(0205)#PCI(0000)#SCSI(P00T00L00)
Current Read-only State : No
Read-only : No
Boot Disk : No
Pagefile Disk : No
Hibernation File Disk : No
Crashdump Disk : No
Clustered Disk : No
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 1 C Windows NTFS Partition 47 GB Healthy Boot
Volume 2 S ESP FAT32 Partition 260 MB Healthy System
Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 Reserved 260 MB 1024 KB
Partition 2 Reserved 16 MB 261 MB
Partition 4 Primary 47 GB 277 MB
Reached the end of the disk enumeration.
There is no disk selected.
";
#[allow(dead_code)]
pub static DETAIL_DISK_MBR: &str = "Disk 0 is now the selected disk.
Red Hat VirtIO SCSI Disk Device
Disk ID: F0152E21
Type : SCSI
Status : Online
Path : 0
Target : 0
LUN ID : 0
Location Path : PCIROOT(0)#PCI(0204)#PCI(0000)#SCSI(P00T00L00)
Current Read-only State : No
Read-only : No
Boot Disk : Yes
Pagefile Disk : Yes
Hibernation File Disk : No
Crashdump Disk : Yes
Clustered Disk : No
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 1 F System Rese NTFS Partition 100 MB Healthy System
Volume 2 C NTFS Partition 49 GB Healthy Boot
Volume 3 NTFS Partition 757 MB Healthy Hidden
Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 Primary 100 MB 1024 KB
Partition 2 Primary 49 GB 101 MB
Partition 3 Recovery 757 MB 49 GB
";
#[allow(dead_code)]
pub static LIST_DISK_DETAIL_DISKS: &str = "
Microsoft DiskPart version 10.0.22621.1
Copyright (C) Microsoft Corporation.
On computer: VIRTPC
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 50 GB 1024 KB
Disk 2 Online 60 GB 15 MB *
Disk 0 is now the selected disk.
Red Hat VirtIO SCSI Disk Device
Disk ID: F0152E21
Type : SCSI
Status : Online
Path : 0
Target : 0
LUN ID : 0
Location Path : PCIROOT(0)#PCI(0204)#PCI(0000)#SCSI(P00T00L00)
Current Read-only State : No
Read-only : No
Boot Disk : Yes
Pagefile Disk : Yes
Hibernation File Disk : No
Crashdump Disk : Yes
Clustered Disk : No
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 1 F System Rese NTFS Partition 100 MB Healthy System
Volume 2 C NTFS Partition 49 GB Healthy Boot
Volume 3 NTFS Partition 757 MB Healthy Hidden
Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 Primary 100 MB 1024 KB
Partition 2 Primary 49 GB 101 MB
Partition 3 Recovery 757 MB 49 GB
Disk 2 is now the selected disk.
Red Hat VirtIO SCSI Disk Device
Disk ID: {7EBCAB6D-5D60-4C08-8EBC-D212A0DAF53F}
Type : SCSI
Status : Online
Path : 0
Target : 0
LUN ID : 0
Location Path : PCIROOT(0)#PCI(0205)#PCI(0000)#SCSI(P00T00L00)
Current Read-only State : No
Read-only : No
Boot Disk : No
Pagefile Disk : No
Hibernation File Disk : No
Crashdump Disk : No
Clustered Disk : No
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 4 E Scratch NTFS Partition 59 GB Healthy
Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 Reserved 16 MB 16 MB
Partition 2 Primary 59 GB 32 MB
Reached the end of the disk enumeration.
There is no disk selected.
";
#[allow(dead_code)]
pub static SELECT_PART_DETAIL_ONE_PART: &str = "
Microsoft DiskPart version 10.0.22621.1
Copyright (C) Microsoft Corporation.
On computer: VIRTPC
Disk 0 is now the selected disk.
Partition 1 is now the selected partition.
Partition 1
Type : c12a7328-f81f-11d2-ba4b-00a0c93ec93b
Hidden : Yes
Required: No
Attrib : 0X8000000000000000
Offset in Bytes: 1048576
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
* Volume 2 S ESP FAT32 Partition 260 MB Healthy System
";
#[allow(dead_code)]
pub static SELECT_PART_DETAIL_PARTS: &str = "
Microsoft DiskPart version 10.0.22621.1
Copyright (C) Microsoft Corporation.
On computer: VIRTPC
Disk 0 is now the selected disk.
Partition 1 is now the selected partition.
Partition 1
Type : c12a7328-f81f-11d2-ba4b-00a0c93ec93b
Hidden : Yes
Required: No
Attrib : 0X8000000000000000
Offset in Bytes: 1048576
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
* Volume 2 ESP FAT32 Partition 260 MB Healthy System
Partition 2 is now the selected partition.
Partition 2
Type : e3c9e316-0b5c-4db8-817d-f92df00215ae
Hidden : Yes
Required: No
Attrib : 0X8000000000000000
Offset in Bytes: 273678336
There is no volume associated with this partition.
Partition 4 is now the selected partition.
Partition 4
Type : ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
Hidden : No
Required: No
Attrib : 0000000000000000
Offset in Bytes: 290455552
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
* Volume 1 C Windows NTFS Partition 47 GB Healthy Boot
";
#[allow(dead_code)]
pub static SPLIT_SECTIONS: &[&str] = &[
"
Microsoft DiskPart version 10.0.22621.1
Copyright (C) Microsoft Corporation.
On computer: VIRTPC
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 50 GB 1024 KB
Disk 2 Online 60 GB 15 MB *
",
"Disk 0 is now the selected disk.
Red Hat VirtIO SCSI Disk Device
Disk ID: F0152E21
Type : SCSI
Status : Online
Path : 0
Target : 0
LUN ID : 0
Location Path : PCIROOT(0)#PCI(0204)#PCI(0000)#SCSI(P00T00L00)
Current Read-only State : No
Read-only : No
Boot Disk : Yes
Pagefile Disk : Yes
Hibernation File Disk : No
Crashdump Disk : Yes
Clustered Disk : No
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 1 F System Rese NTFS Partition 100 MB Healthy System
Volume 2 C NTFS Partition 49 GB Healthy Boot
Volume 3 NTFS Partition 757 MB Healthy Hidden
Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 Primary 100 MB 1024 KB
Partition 2 Primary 49 GB 101 MB
Partition 3 Recovery 757 MB 49 GB
",
"Disk 2 is now the selected disk.
Red Hat VirtIO SCSI Disk Device
Disk ID: {7EBCAB6D-5D60-4C08-8EBC-D212A0DAF53F}
Type : SCSI
Status : Online
Path : 0
Target : 0
LUN ID : 0
Location Path : PCIROOT(0)#PCI(0205)#PCI(0000)#SCSI(P00T00L00)
Current Read-only State : No
Read-only : No
Boot Disk : No
Pagefile Disk : No
Hibernation File Disk : No
Crashdump Disk : No
Clustered Disk : No
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 4 E Scratch NTFS Partition 59 GB Healthy
Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 Reserved 16 MB 16 MB
Partition 2 Primary 59 GB 32 MB
Reached the end of the disk enumeration.
There is no disk selected.
",
];