| 1 |
#!/bin/sh |
| 2 |
|
| 3 |
set -e |
| 4 |
|
| 5 |
# Make sure that .info does not appear in our entry. |
| 6 |
INFODIR="/usr/share/info/dir" |
| 7 |
test -r "$INFODIR" || exit 1 |
| 8 |
OURENTRY=$(grep "^* hexeditor:" "$INFODIR" 2> /dev/null) || exit 2 |
| 9 |
echo "$OURENTRY" | grep -qv "(.*\.info\>.*)" || exit 3 |