debian/tests/txtmanpage
raw| 1 | #!/bin/sh |
| 2 | # |
| 3 | # Test, that TXT version of man page looks "okay". |
| 4 | # |
| 5 | # (c) 2018 Roland Rosenfeld <[email protected]> |
| 6 | |
| 7 | if grep -q "ding - dictionary lookup program for Unix" \ |
| 8 | /usr/share/doc/ding/html/ding.1.txt |
| 9 | then |
| 10 | exit 0 |
| 11 | else |
| 12 | echo "Did not find NAME from ding(1) man page in ding.1.txt." |
| 13 | exit 1 |
| 14 | fi |