From 942e74d857fd083636933cf6c5041677e645b12b Mon Sep 17 00:00:00 2001 From: Abylaikhan Zulbukharov Date: Tue, 28 Jan 2020 18:37:22 +0600 Subject: [PATCH 1/2] Update my-ls-1.audit.en.md --- subjects/my-ls-1/my-ls-1.audit.en.md | 36 ++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/subjects/my-ls-1/my-ls-1.audit.en.md b/subjects/my-ls-1/my-ls-1.audit.en.md index 90c5e7e9b..bdade9a27 100644 --- a/subjects/my-ls-1/my-ls-1.audit.en.md +++ b/subjects/my-ls-1/my-ls-1.audit.en.md @@ -56,6 +56,42 @@ ###### Does it display the same files and/or folders in the same order? +##### Run both my-ls-1 and the system command ls with the arguments: `-l -a ` + +###### Is the output displayed the same way? + +##### Run both my-ls-1 and the system command ls with the arguments: `-lR ////// //` + +###### 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 `, 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 /` + +###### 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 ` + +###### 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 /` + +###### 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 ` + +###### Is the displayed output the same? + #### General ###### +Does the program runs with colors as in the ls command? From d070b1835ec69066b36fc3e55eade6cac56ee2e1 Mon Sep 17 00:00:00 2001 From: LEEDASILVA <39002521+LEEDASILVA@users.noreply.github.com> Date: Tue, 28 Jan 2020 14:47:34 +0000 Subject: [PATCH 2/2] Update my-ls-1.audit.en.md --- subjects/my-ls-1/my-ls-1.audit.en.md | 46 ++++++++++++++-------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/subjects/my-ls-1/my-ls-1.audit.en.md b/subjects/my-ls-1/my-ls-1.audit.en.md index bdade9a27..5bd5406f3 100644 --- a/subjects/my-ls-1/my-ls-1.audit.en.md +++ b/subjects/my-ls-1/my-ls-1.audit.en.md @@ -4,91 +4,91 @@ ###### Does it display the same files and/or folders in the same order? -##### Run both my-ls-1 and the system command `ls` with the arguments: ``. +##### Run both my-ls-1 and the system command `ls` with the arguments: `""`. ###### Does it display the same file? -##### Run both my-ls-1 and the system command `ls` with the arguments: ``. +##### Run both my-ls-1 and the system command `ls` with the arguments: `""`. ###### Does it display the same files and/or folders in the same order? -##### Run both my-ls-1 and the system command `ls` with the flag: `-l`. +##### Run both my-ls-1 and the system command `ls` with the flag: `"-l"`. ###### Does it display the same files and/or folders with the same display? -##### Run both my-ls-1 and the system command `ls` with the arguments: `-l `. +##### Run both my-ls-1 and the system command `ls` with the arguments: `"-l "`. ###### Does it display the same file with the same display? -##### Run both my-ls-1 and the system command `ls` with the arguments: `-l `. +##### Run both my-ls-1 and the system command `ls` with the arguments: `"-l "`. ###### Does it display 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: `"-l /usr/bin"`. ###### Does it display the same files and/or folders with the same display? Be aware of symbolic links. -##### Run both my-ls-1 and the system command `ls` with the flag: `-R`, in a directory with folders in it. +##### Run both my-ls-1 and the system command `ls` with the flag: `"-R"`, in a directory with folders in it. ###### Does it display the same files and/or folders? -##### Run both my-ls-1 and the system command `ls` with the flag: `-a`. +##### Run both my-ls-1 and the system command `ls` with the flag: `"-a"`. ###### Does it display the same files and/or folders in the same order? -##### Run both my-ls-1 and the system command `ls` with the flag: `-r`. +##### Run both my-ls-1 and the system command `ls` with the flag: `"-r"`. ###### Does it display the same files and/or folders in the same order? -##### Run both my-ls-1 and the system command `ls` with the flag: `-t`. +##### Run both my-ls-1 and the system command `ls` with the flag: `"-t"`. ###### Does it display the same files and/or folders in the same order? -##### Run both my-ls-1 and the system command `ls` with the flag: `-la`. +##### Run both my-ls-1 and the system command `ls` with the flag: `"-la"`. ###### Does it display the same files and/or folders in the same order? -##### Run both my-ls-1 and the system command `ls` with the arguments: `-l -t `. +##### Run both my-ls-1 and the system command `ls` with the arguments: `"-l -t "`. ###### Does it display the same files and/or folders in the same order? -##### Run both my-ls-1 and the system command `ls` with the arguments: `-lRr `, in which the directory chosen contains folders. +##### Run both my-ls-1 and the system command `ls` with the arguments: `"-lRr "`, in which the directory chosen contains folders. ###### Does it display the same files and/or folders in the same order? -##### Run both my-ls-1 and the system command ls with the arguments: `-l -a ` +##### Run both my-ls-1 and the system command ls with the arguments: `"-l -a "` ###### Is the output displayed the same way? -##### Run both my-ls-1 and the system command ls with the arguments: `-lR ////// //` +##### Run both my-ls-1 and the system command ls with the arguments: `"-lR ////// //"` ###### 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` +##### 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 `, in which the directory chosen contains folders and files within folders. Time of modification of all files within that folder must be the same. +##### Run both my-ls-1 and the system command ls with the arguments: `"-alRrt "`, 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: `-` +##### 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 /` +##### Create file and link for this file and run both my-ls-1 and the system command ls with the arguments: `"-l /"` ###### 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 ` +##### Create file and link for this file and run both my-ls-1 and the system command ls with the arguments: `"-l "` ###### 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 /` +##### 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 /"` ###### 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 ` +##### 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 "` ###### Is the displayed output the same? @@ -98,7 +98,7 @@ ###### +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 ~"). +##### 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?