[cs631apue] ls testdir

Jan Schaumann jschauma at stevens.edu
Sat Oct 6 13:58:20 EDT 2018


Here's a script that creates a directory with a number of files in it
that tickle some of the edge cases in your ls implementation:


Download the file and run it on your NetBSD system:

ftp https://stevens.netmeister.org/631/makelstest
sh makelstest
cd testdir
ls -l

Then compare the output of your program in that directory to that of the
system provided ls(1).


More information about the cs631apue mailing list