Commit 716f4b92 authored by Idar Tollefsen's avatar Idar Tollefsen

test/rtpw: Adds local words.txt and uses it.

The rtpw test program tried to use either a "words.txt" file (on Windows)
or "/usr/share/dict/words" on other platforms.

The "words.txt" file is not in the repository and "/usr/share/dict/words"
may not exist (may not have been installed).

To make the test program independent of files that may or may exist on a
given system, this adds a local "words.txt" file changes rtpw.c to always
use that file.

The collection of words in that file (250 for now) is generated from some
random random word generator (pun intended).
parent 5c50354c
......@@ -89,11 +89,7 @@
#include "rtp.h"
#include "util.h"
#ifdef RTPW_USE_WINSOCK2
# define DICT_FILE "words.txt"
#else
# define DICT_FILE "/usr/share/dict/words"
#endif
#define DICT_FILE "words.txt"
#define USEC_RATE (5e5)
#define MAX_WORD_LEN 128
#define ADDR_IS_MULTICAST(a) IN_MULTICAST(htonl(a))
......
abducing
acidheads
acidness
actons
admixtures
affidavit
agelastic
alated
alimentary
alleviated
allseed
annexure
arragonite
atonements
autacoid
axe
axon
ayres
beathing
blazonry
bottom
braising
brehon
brindisi
broadcasts
buds
bulnbulns
bushcraft
calamander
calipee
casing
caveat
chaffings
citifies
clappers
claques
clavate
colonial
colonials
commonalty
compares
consequent
consumed
contango
courtierly
creamery
cruddiest
cue
cultish
cumin
cyclus
dahlias
dentitions
derailers
devitrify
dibs
diphysite
disjunes
drolleries
dubitated
dupion
earliness
eductor
elenctic
empresses
entames
epaulettes
epicanthic
epochal
estated
eurhythmic
exfoliated
extremity
fayence
figgery
flaming
foes
forelays
forewings
forfeits
fratches
gardened
gentile
glumpish
glyph
goatherd
grow
gulden
gumming
hackling
hanapers
hared
hatters
hectare
hedger
heel
heterodox
hidden
histologic
howe
inglobe
inliers
inuredness
iotacism
japed
jelled
jiffy
jollies
judgeship
karite
kart
kenophobia
kittens
lactarian
lancets
leasable
leep
leming
licorice
listing
lividly
lobectomy
lysosome
madders
maderizing
manacle
mangels
marshiest
maulstick
meliorates
mercy
mikados
monarchise
moultings
mucro
munnions
mystic
myxoedemic
nointing
nong
nonsense
ochidore
octuor
officering
opaqued
oragious
outtell
oxeye
pads
palamae
pansophy
parazoa
pepsines
perimetric
pheasant
phonotypy
pitarah
plaintful
poinders
poke
politer
poonces
populism
pouty
praedial
presence
prompter
pummelled
punishing
quippish
radicality
radiuses
rebuffing
recorded
redips
regulators
replay
retrocedes
rigors
risen
rootstocks
rotenone
rudenesses
ruggedest
runabout
ruthfully
sagacious
scapes
sclera
sclerotium
scumbering
secondi
serial
shampoo
showed
sights
sirenised
sized
slave
socle
solidness
some
spetches
spiels
squiring
staminode
stay
stewpot
stunsails
subhumid
subprogram
supawn
surplusage
swimming
swineherd
tabun
talliths
taroks
tensed
thinnings
three
tipper
toko
tomahawks
tombolos
torpefy
torulae
touns
travails
tsarist
unbeseems
unblamably
unbooked
unnailed
updates
valorise
viability
virtue
vulturns
vulvate
warran
weakness
westernise
whingeings
wrenching
written
yak
yate
yaupon
zendiks
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment