summaryrefslogtreecommitdiffstats
path: root/tests/expected
Commit message (Collapse)AuthorAgeFilesLines
* tests: (libmount) make X-* and x-* more robustKarel Zak2019-07-152-0/+0
| | | | | Addresses: https://github.com/karelzak/util-linux/issues/818 Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update build-sys outputKarel Zak2019-06-141-29/+29
| | | | | | It seems, no more libgcc_s... Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add asan build-sys testKarel Zak2019-05-291-0/+120
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lscpu: fix floating point exceptionSami Kerola2019-05-181-0/+76
| | | | | | | | | | | | | As the title tells this change indeed fixes floating point exception, but post processing as value overwrite feels a wrong. Possibly something in input is making cpu set count to go wrong, but I could not get my head around what could it be. Anyway avoiding division by zero seems better than crashing so lets do this atleast for now. Caused-by: e5f721132ec8b8c933a396d8dcb3efcb67854f13 Addresses: https://github.com/karelzak/util-linux/issues/788 Reported-by: Lars Wendler <polynomial-c@gentoo.org> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* lscpu: remove extra space from field key nameSami Kerola2019-05-161-37/+37
| | | | | | | | | | | | | | | | | | | The extra space was more obvious in json output. But as the expected test output displays also the standard output can be effected by this change. $ lscpu --json | jq '.lscpu | .[].field' | grep ': ' "L1d cache: " "L1i cache: " "L2 cache: " "L3 cache: " "Vulnerability L1tf: " "Vulnerability Mds: " "Vulnerability Meltdown: " "Vulnerability Spec store bypass: " "Vulnerability Spectre v1: " "Vulnerability Spectre v2: " Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* lscpu: move trailing null after removing characters from a stringSami Kerola2019-05-161-1/+1
| | | | | | | | | From the test input string ':' characters are removed: cat x86_64-epyc_7451/sys/devices/system/cpu/vulnerabilities/spectre_v2 Mitigation: Full AMD retpoline, IBPB: conditional, STIBP: disabled, RSB filling Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tests: build-sys updateKarel Zak2019-04-2918-395/+413
| | | | | | | | | | | | | * libblkid does not depend on libuuid anymore * libncurses depends on libdl due to $ ncursesw6-config --libs -lncursesw -ltinfo -ldl * new command hardlink (with dependence on libpcre2-8 * hwclock needs librt Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update lscpu due to 'Vulnerability' fieldsKarel Zak2019-04-111-32/+37
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add /mnt/test/foo^Mbar to mountinfo testsKarel Zak2019-04-086-0/+28
| | | | | Addresses: https://github.com/karelzak/util-linux/issues/780 Signed-off-by: Karel Zak <kzak@redhat.com>
* lscpu: add --cachesKarel Zak2019-03-191-2/+2
| | | | | | | | | | | | | | | $ lscpu -C NAME ONE-SIZE ALL-SIZE WAYS TYPE LEVEL L3 8M 8M 16 Unified 3 L2 256K 1M 8 Unified 2 L1i 32K 128K 8 Instruction 1 L1d 32K 128K 8 Data 1 The patch also updates extra caches (s390) output in lsblk summary to be compatible with output about normal caches. Addresses: https://github.com/karelzak/util-linux/issues/663 Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update lscpu outputKarel Zak2019-03-198-25/+23Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lscpu: add 'Frequency boost'Karel Zak2019-03-151-0/+1
| | | | | | | | Show turbo boost status on platforms where is available a file /sys/devices/system/cpu/cpufreq/boost. Addresses: https://github.com/karelzak/util-linux/issues/755 Signed-off-by: Karel Zak <kzak@redhat.com>
* Merge branch 'evelu-epyc' of https://github.com/ErwanAliasr1/util-linuxKarel Zak2019-03-041-0/+233
|\ | | | | | | | | * 'evelu-epyc' of https://github.com/ErwanAliasr1/util-linux: test: Adding AMD EPYC 7451 24-Core Processor
| * test: Adding AMD EPYC 7451 24-Core ProcessorErwan Velu2019-02-271-0/+233
| | | | | | | | | | | | | | This cpu is massively numa and have interesting cache organization. This will be useful to test & implement issue #663 Signed-off-by: Erwan Velu <e.velu@criteo.com>
* | tests: use subtests in fdisk/mbr-nondos-modeKarel Zak2019-02-2714-250/+250
| | | | | | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* | tests: add fdisk (dos) first sector dialog testKarel Zak2019-02-271-0/+47
|/ | | | | | | The test verifies that the "First sector" dialog offers relevant range in the begin of the device if the end of the device is already used. Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add mnt_table_{find,insert,move}_fs()Karel Zak2019-02-211-0/+1
| | | | | | | | Add functions to insert FS into table to specified position and to move FS between two tables. Co-Author: Tim Hildering <hilderingt@posteo.net> Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update fdisk outputsKarel Zak2019-02-122-6/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: (hardlink) update noregexKarel Zak2019-02-111-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: (hardlink) update summary outputKarel Zak2019-02-112-16/+12Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* Merge branch 'hardlink' of https://github.com/rudimeier/util-linux into hardlinkKarel Zak2019-02-066-0/+147
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'hardlink' of https://github.com/rudimeier/util-linux: (25 commits) hardlink: add first simple tests hardlink: util-linux usage hardlink: fix compiler warnings hardlink: style indentations and license header hardlink: enable build with and without pcre2 fixes for the fixes temporal fix before re-patch (updates from Fedora repo) Update hardlink.1 Fixed version number, added changelog about Todd Lewis' patch exclude files via pcre Fixed 32 bit build with gcc7 (RH Bugzilla ID 1422989) spec file reflects the atomic hardlinking patch; removed cleaning buildroot (redundant); update FSF address at .c source file Revert "spec file reflects the atomic hardlinking patch; removed cleaning buildroot (redundant); current FSF address at .c source file" spec file reflects the atomic hardlinking patch; removed cleaning buildroot (redundant); current FSF address at .c source file Mention -f option in the man page do not allow to hardlink files across filesystems by default (#786719) (use -f option to override) fix possible buffer overflows, integer overflows, update man page fix URL and remove mmap() (#676962, #672917) - update docs to describe highest verbosity -vv option (#210816) - use dist Resolves: 210816 mostly spec cleanup ...
| * hardlink: add first simple testsRuediger Meier2018-11-156-0/+147
| | | | | | | | | | | | | | The test still fails without pcre2 and may also make problems on exotic file systems. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* | col: improve error message, update regression testKarel Zak2019-02-051-1/+1
| | | | | | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* | Removed BlueStore VERSION information as it is gibberishKenneth Van Alstyne2018-12-181-1/+0Star
| |
* | Updated BlueStore expected resultKenneth Van Alstyne2018-12-171-0/+1
| |
* | Added BlueStore test imageKenneth Van Alstyne2018-12-171-0/+2
| |
* | tests: add test images for drbd v08/v09Roland Kammerer2018-11-292-0/+10
| | | | | | | | | | | | | | This adds DRBD meta data images for DRBD versions 8 and 9, as well as the according expected output. Signed-off-by: Roland Kammerer <roland.kammerer@linbit.com>
* | tests: add choom to build-sys testKarel Zak2018-09-2418-0/+18
| | | | | | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* | tests: update sfdisk resizeKarel Zak2018-09-171-1/+1
| | | | | | | | | | | | due to 2f35c1ead621f42f32f7777232568cb03185b473 Signed-off-by: Karel Zak <kzak@redhat.com>
* | test: update UUID v5 testsKarel Zak2018-08-311-1/+1
| | | | | | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* | tests: update fdisk outputKarel Zak2018-08-3066-0/+75
| | | | | | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* | tests: add column --table-empty-lines testKarel Zak2018-08-232-0/+10
| | | | | | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* | tests: add cal --span testsKarel Zak2018-08-074-0/+740
| | | | | | | | | | Addresses: https://github.com/karelzak/util-linux/issues/677 Signed-off-by: Karel Zak <kzak@redhat.com>
* | tests: update lscpu testsKarel Zak2018-08-013-0/+3
| | | | | | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* | tests: update fdisk dialogsKarel Zak2018-07-3110-40/+40
| | | | | | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* | tests: add mountinfo with empty sourceKarel Zak2018-07-101-0/+78
| | | | | | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* | tests: add simple LVM lsblk dumpKarel Zak2018-06-217-0/+154
| | | | | | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* | tests: add simple ATA and NVME lsblk dumpKarel Zak2018-06-217-0/+98
| | | | | | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* | tests: add empty column testKarel Zak2018-06-041-0/+1
| | | | | | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* | libblkid: udf: Fix reporting UDF 2.60 revisionPali Rohár2018-05-251-0/+10
|/ | | | | | | | | | | | | According to the UDF 2.60 specification, the Minimum UDF Read Revision value shall be at most #0250 for all media with a UDF 2.60 file system. So in this case use Minimum UDF Write Revision as ID_FS_VERSION to distinguish between UDF 2.50 and UDF 2.60 discs. This commit also adds a testing Blu-Ray Recordable image with UDF revision 2.60 created by Nero which really sets Minimum UDF Read Revision to 2.50. Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
* tests: update script done messagesKarel Zak2018-05-145-12/+12
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update script headersKarel Zak2018-05-145-12/+12
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* script: add the -o/--output-limit option. Fix race test.Fred Mora2018-05-141-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | When script is used on a host with a relatively small free disk space, it is sometimes desirable to limit the size of the captured output. This can now be enforced with the --output-limit option. The --output-limit option lets the user specify a maximum size. The program uses the size parsing from strutils and thus supports the usual multiplicative suffixes (kiB, KB, MiB, MB, etc.). After the specified number of bytes have been written to the output file, the script program will terminate the child process. Due to buffering, the size of the output file might exceed the specified limit. This limit also does not include the start and done messages. The race test was throwing an error dur to a variable being "" in some cases. Quoting the variable in the equal test took care of that test. [kzak@redhat.com: - use done() to stop script - count also timing file - remove unnamed member initialization in ctl struct - add to bash-completion] Signed-off-by: Fred Mora <fmora@datto.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update sfdisk JSON outputKarel Zak2018-04-062-20/+20
| | | | | References: d881b773318dbd3f5ceb58a1e9a560fe0d1ac90a Signed-off-by: Karel Zak <kzak@redhat.com>
* lsmem: improve JSON outputKarel Zak2018-04-052-53/+53
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update JSON outputsKarel Zak2018-04-043-50/+50
| | | | | | It does not contains extra space after ":" separator anymore. Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: remove namei(1) failed lstat testKarel Zak2018-03-271-5/+0Star
| | | | | | | | The strerror() output is is nothing stable and may be different on another systems. It would be possible to use sed(1) to unify the output, but it seems overkill in this case. Signed-off-by: Karel Zak <kzak@redhat.com>
* Merge branch 'master' of https://github.com/pali/util-linuxKarel Zak2018-03-2721-0/+134
|\ | | | | | | | | | | | | * 'master' of https://github.com/pali/util-linux: tests: Add tests for FAT32 labels blkid: Encode any field which starts with LABEL in same way as LABEL field libblkid: vfat: Change parsing label in special cases
| * tests: Add tests for FAT32 labelsPali Rohár2017-11-2521-0/+134
| | | | | | | | | | | | | | | | | | | | These FAT32 images were generated for FAT label test suite in October 2017. Now blkid reports same FAT32 label as MS-DOS 6, 7 and Windows 98, XP, 10. For more information about test result see email: https://www.spinics.net/lists/kernel/msg2640891.html Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
* | tests: update column(1) space-separator testKarel Zak2018-03-271-6/+6
| | | | | | | | Signed-off-by: Karel Zak <kzak@redhat.com>