You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

2.9 KiB

Functional

Run both my-ls-1 and the system command ls with no arguments.
Does it displays the same files and/or folders in the same order?
Run both my-ls-1 and the system command ls with the arguments: <file name>.
Does it displays the same file?
Run both my-ls-1 and the system command ls with the arguments: <directory name>.
Does it displays the same files and/or folders in the same order?
Run both my-ls-1 and the system command ls with the flag: -l.
Does it displays the same files and/or folders with the same display?
Run both my-ls-1 and the system command ls with the arguments: -l <file name>.
Does it displays the same file with the same display?
Run both my-ls-1 and the system command ls with the arguments: -l <directory name>.
Does it displays the same files and/or folders with the same display?
Run both my-ls-1 and the system command ls with the flag: -l /usr/bin.
Run both my-ls-1 and the system command ls with the flag: -R, in a directory with folders in it.
Does it displays the same files and/or folders?
Run both my-ls-1 and the system command ls with the flag: -a.
Does it displays the same files and/or folders in the same order?
Run both my-ls-1 and the system command ls with the flag: -r.
Does it displays the same files and/or folders in the same order?
Run both my-ls-1 and the system command ls with the flag: -t.
Does it displays the same files and/or folders in the same order?
Run both my-ls-1 and the system command ls with the flag: -la.
Does it displays the same files and/or folders in the same order?
Try running the program with -l -t and a directory as arguments
Run both my-ls-1 and the system command ls with the arguments: -l -t <directory name>.
Does it displays the same files and/or folders in the same order?
Run both my-ls-1 and the system command ls with the arguments: -lRr <direcory name, in which the directory chosen conatins folders.
Does it displays the same files and/or folders in the same order?

General

+Does the program runs with colors as in the ls command?
+Does the program has other flags except for the mandatory ones?
Try running the program with -R ~ and with the command time before the program name (ex: "time ./my-ls-1 -R ~").
+Is the real time less than 1,5 seconds?

Basic

+Does the code obey the good practices?
+Is there a test file for this code?
+Are the tests checking each possible case?

Social

+Did you learn anything from this project?
+Would you recommend/nominate this program as an example for the rest of the school?