From: luopub@163.com on
Who can help me? I don't have Cisco devices, in fact I have nothing
except this computer. So I want examples that test pure software. What
is best suitable to be tested by Expect? I already had a little
knowledge about DejaGNU, but it seems I have nothing to test!

From: Bryan Oakley on
luopub(a)163.com wrote:
> Who can help me? I don't have Cisco devices, in fact I have nothing
> except this computer. So I want examples that test pure software. What
> is best suitable to be tested by Expect? I already had a little
> knowledge about DejaGNU, but it seems I have nothing to test!
>

If you're running on unix, you have hundreds (thousands?) of programs
that can be tested. Any non-graphical software can be tested with
expect. Examples include telnet, ftp, ssh, tclsh, expect, ls, date, ps,
..... the choice is almost endless.

Frankly, I think it's way too late for you to be able to write a masters
thesis by now -- isn't it due in a couple days? Since you're still
lacking the fundamentals, my advice is to start as small as possible.

For example, try to use expect to test the program 'ls'. ls accepts many
different options and will work with many different types of files and
directories to give you a large set of possible outputs.

The way you do this is to write a script that creates a controlled
environment (read: a temporary directory), adds a specific number of
files and subdirectories with various names and properties, then runs
many different variations of the 'ls' command to make sure it's
returning the proper information in all cases.


--
Bryan Oakley
http://www.tclscripting.com
From: luopub@163.com on
Yes, due time is in less than ten days. But I have to finish the
thesis, because it's too important for me. It's bachelor thesis not
master thesis. Many thanks! :)

The root cause may be I have too little knowledge about linux. In fact
I have the first Linux system only on Feb 3, ten days ago.Before that
day, I have never worked on Linux.

My thesis requires fully automated test scripts, interactive tset
scripts, and complicated test scripts. I now have only one automated
test script, have no idea about "complicated" scripts yet.

From: Earl Grieda on

<luopub(a)163.com> wrote in message
news:1139812823.224747.277410(a)o13g2000cwo.googlegroups.com...
> Yes, due time is in less than ten days. But I have to finish the
> thesis, because it's too important for me. It's bachelor thesis not
> master thesis. Many thanks! :)
>
> The root cause may be I have too little knowledge about linux. In fact
> I have the first Linux system only on Feb 3, ten days ago.Before that
> day, I have never worked on Linux.
>
> My thesis requires fully automated test scripts, interactive tset
> scripts, and complicated test scripts. I now have only one automated
> test script, have no idea about "complicated" scripts yet.
>

So, is this a research thesis where you present examples of what other
people have done, or are you supposed to be designing and writing the
automated tests yourself?


From: luopub@163.com on
Dear Earl Grieda, thank you for your concern.
I plan to present some examples of others ad design some test scripts
of my own. The most urgent thing now is that I can't decide an object
to test, because I'm new to Linux. In addition I don't have any
hardware environment such as router, switch or additional computer. The
only equipment I have is this computer, because I'm working at home.
Do you have any good idea?