<s>
DejaGnu	B-Library
is	O
a	O
software	B-Architecture
framework	I-Architecture
for	O
testing	O
other	O
programs	O
.	O
</s>
<s>
It	O
has	O
a	O
main	O
script	B-Language
called	O
runtest	O
that	O
goes	O
through	O
a	O
directory	B-Application
looking	O
at	O
configuration	B-Protocol
files	I-Protocol
and	O
then	O
runs	O
some	O
tests	O
with	O
given	O
criteria	O
.	O
</s>
<s>
The	O
purpose	O
of	O
the	O
DejaGnu	B-Library
package	O
is	O
to	O
provide	O
a	O
single	O
front	B-Architecture
end	I-Architecture
for	O
all	O
tests	O
.	O
</s>
<s>
It	O
is	O
a	O
part	O
of	O
the	B-Application
GNU	I-Application
Project	I-Application
and	O
is	O
licensed	O
under	O
the	O
GPL	B-License
.	O
</s>
<s>
It	O
is	O
based	O
on	O
Expect	O
,	O
which	O
is	O
in	O
turn	O
based	O
on	O
Tcl	B-Operating_System
.	O
</s>
<s>
DejaGnu	B-Library
has	O
a	O
very	O
strong	O
history	O
in	O
testing	O
due	O
to	O
its	O
Tcl	B-Operating_System
base	O
.	O
</s>
<s>
Tcl	B-Operating_System
is	O
used	O
extensively	O
by	O
companies	O
such	O
as	O
Oracle	B-Application
and	O
Sybase	B-Application
to	O
test	O
their	O
products	O
.	O
</s>
<s>
DejaGnu	B-Library
allows	O
this	O
work	O
to	O
be	O
much	O
more	O
structured	O
.	O
</s>
<s>
The	O
test	O
is	O
run	O
by	O
merely	O
calling	O
in	O
the	O
root	O
project	O
directory	B-Application
.	O
</s>
<s>
This	O
will	O
look	O
in	O
the	O
directory	B-Application
for	O
any	O
folders	O
starting	O
with	O
and	O
will	O
run	O
all	O
.exp	O
files	O
in	O
that	O
folder	O
.	O
</s>
<s>
One	O
field	O
for	O
which	O
DejaGnu	B-Library
is	O
particularly	O
well	O
suited	O
is	O
that	O
of	O
embedded	B-Architecture
system	I-Architecture
design	I-Architecture
.	O
</s>
<s>
It	O
allows	O
for	O
testing	O
to	O
be	O
done	O
remotely	O
on	O
development	O
boards	O
;	O
separate	O
initialization	O
files	O
can	O
be	O
created	O
for	O
each	O
operating	B-General_Concept
system	I-General_Concept
and	O
board	O
.	O
</s>
<s>
DejaGnu	B-Library
is	O
thus	O
popular	O
with	O
many	O
GNU	B-Application
projects	I-Application
,	O
at	O
universities	O
,	O
and	O
for	O
private	O
companies	O
.	O
</s>
<s>
Each	O
directory	B-Application
in	O
testsuite	O
should	O
contain	O
tests	O
for	O
a	O
specific	O
tool	O
.	O
</s>
<s>
In	O
this	O
example	O
,	O
the	O
tool	O
being	O
tested	O
is	O
the	O
Apache	B-Application
webserver	I-Application
.	O
</s>
<s>
This	O
file	O
is	O
a	O
directory	B-Application
specific	O
configuration	B-Protocol
file	I-Protocol
for	O
.	O
</s>
<s>
This	O
is	O
the	O
first	O
configuration	B-Protocol
file	I-Protocol
loaded	O
.	O
</s>
<s>
It	O
can	O
be	O
named	O
anything	O
but	O
must	O
be	O
pointed	O
to	O
by	O
the	O
$DEJAGNU	O
environment	O
variable	O
(	O
set	O
when	O
your	O
terminal	O
loads	O
)	O
.	O
</s>
