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.

118 lines
4.7 KiB

5 years ago
#### Functional
##### Run both my-ls-1 and the system command `ls` with no arguments.
5 years ago
###### Does it display the same files and/or folders in the same order?
5 years ago
##### Run both my-ls-1 and the system command `ls` with the arguments: `<file name>`.
5 years ago
###### Does it display the same file?
5 years ago
##### Run both my-ls-1 and the system command `ls` with the arguments: `<directory name>`.
5 years ago
###### Does it display the same files and/or folders in the same order?
5 years ago
##### Run both my-ls-1 and the system command `ls` with the flag: `-l`.
5 years ago
###### Does it display the same files and/or folders with the same display?
5 years ago
##### Run both my-ls-1 and the system command `ls` with the arguments: `-l <file name>`.
5 years ago
###### Does it display the same file with the same display?
5 years ago
##### Run both my-ls-1 and the system command `ls` with the arguments: `-l <directory name>`.
5 years ago
###### Does it display the same files and/or folders with the same display?
5 years ago
##### Run both my-ls-1 and the system command `ls` with the flag: `-l /usr/bin`.
5 years ago
###### Does it display the same files and/or folders with the same display? Be aware of symbolic links.
5 years ago
##### Run both my-ls-1 and the system command `ls` with the flag: `-R`, in a directory with folders in it.
5 years ago
###### Does it display the same files and/or folders?
5 years ago
##### Run both my-ls-1 and the system command `ls` with the flag: `-a`.
5 years ago
###### Does it display the same files and/or folders in the same order?
5 years ago
##### Run both my-ls-1 and the system command `ls` with the flag: `-r`.
5 years ago
###### Does it display the same files and/or folders in the same order?
5 years ago
##### Run both my-ls-1 and the system command `ls` with the flag: `-t`.
5 years ago
###### Does it display the same files and/or folders in the same order?
5 years ago
##### Run both my-ls-1 and the system command `ls` with the flag: `-la`.
5 years ago
###### Does it display the same files and/or folders in the same order?
5 years ago
##### Run both my-ls-1 and the system command `ls` with the arguments: `-l -t <directory name>`.
5 years ago
###### Does it display the same files and/or folders in the same order?
5 years ago
5 years ago
##### Run both my-ls-1 and the system command `ls` with the arguments: `-lRr <directory name>`, in which the directory chosen contains folders.
5 years ago
###### Does it display the same files and/or folders in the same order?
5 years ago
##### Run both my-ls-1 and the system command ls with the arguments: `-l <directory name> -a <file name>`
###### Is the output displayed the same way?
##### Run both my-ls-1 and the system command ls with the arguments: `-lR <directory name>///<sub directory name>/// <directory name>/<sub directory name>/`
###### Is the output displayed the same way? Number of `/` must be the same.
##### Run both my-ls-1 and the system command ls with the arguments: `-la /dev`
###### Does it display the same files and/or folders with the same display? Do not pay attention to ACL permission flag.
##### Run both my-ls-1 and the system command ls with the arguments: `-alRsirt <directory name>`, in which the directory chosen contains folders and files within folders. Time of modification of all files within that folder must be the same.
###### Is the displayed output the same?
##### Create directory with `-` name and run both my-ls-1 and the system command ls with the arguments: `-`
###### Is the displayed output the same?
##### Create file and link for this file and run both my-ls-1 and the system command ls with the arguments: `-l <symlink file>/`
###### Is the displayed output the same? Pay attention to `/` at the end.
##### Create file and link for this file and run both my-ls-1 and the system command ls with the arguments: `-l <symlink file>`
###### Is the displayed output the same?
##### Create directory that contains files and link for this directory and run both my-ls-1 and the system command ls with the arguments: `-l <symlink dir>/`
###### Is the displayed output the same? Pay attention to `/` at the end.
##### Create directory that contains files and link for this directory and run both my-ls-1 and the system command ls with the arguments: `-l <symlink dir>`
###### Is the displayed output the same?
5 years ago
#### General
###### +Does the program runs with colors as in the ls command?
5 years ago
5 years ago
###### +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 ~").
5 years ago
5 years ago
###### +Is the real time less than 1,5 seconds?
#### Basic
###### +Does the code obey the [good practices](https://public.01-edu.org/subjects/good-practices.en)?
5 years ago
5 years ago
###### +Is there a test file for this code?
5 years ago
5 years ago
###### +Are the tests checking each possible case?
#### Social
###### +Did you learn anything from this project?
5 years ago
5 years ago
###### +Would you recommend/nominate this program as an example for the rest of the school?