summaryrefslogtreecommitdiff
path: root/test/test-umount
Commit message (Collapse)AuthorAgeFilesLines
* gitattributes: introduce and use "generated" attributeZbigniew Jędrzejewski-Szmek2021-10-181-0/+1
| | | | | | | | | | | | | | I want to mark some files to be ignored for licensing purposes, e.g. output from fuzzers and other samples. By using the gitattribute machinery for this we don't need to design a custom protocol: $ git check-attr generated test/test-sysusers/unhappy-* test/test-sysusers/unhappy-1.expected-err: generated: set test/test-sysusers/unhappy-1.input: generated: unspecified test/test-sysusers/unhappy-2.expected-err: generated: set test/test-sysusers/unhappy-2.input: generated: unspecified test/test-sysusers/unhappy-3.expected-err: generated: set test/test-sysusers/unhappy-3.input: generated: unspecified
* test-umount: add a simple test for swap_list_get()Zbigniew Jędrzejewski-Szmek2018-03-161-0/+4
| | | | | | | | | The implementation seems buggy: /* test_swap_list("/home/zbyszek/src/systemd/test/test-umount/example.swaps") */ path=0 o= f=0x0 try-ro=no dev=0:0 path=/some/swapfile2 o= f=0x0 try-ro=no dev=0:0 path=/some/swapfile o= f=0x0 try-ro=no dev=0:0 path=/dev/dm-2 o= f=0x0 try-ro=no dev=0:0
* tests: add a simple test for the mountinfo parsing logicZbigniew Jędrzejewski-Szmek2018-03-163-0/+52