From 78577b29612926228e47b50d16537516f5d1b1d6 Mon Sep 17 00:00:00 2001 From: OGordoo Date: Tue, 14 Jan 2020 16:05:56 +0000 Subject: [PATCH 1/2] my-ls-1 --- subjects/my-ls-1/my-ls-1.audit.en.md | 63 ++++++++++++++++++++++++++++ subjects/my-ls-1/my-ls-1.en.md | 43 +++++++++++++++++++ 2 files changed, 106 insertions(+) create mode 100644 subjects/my-ls-1/my-ls-1.audit.en.md create mode 100644 subjects/my-ls-1/my-ls-1.en.md diff --git a/subjects/my-ls-1/my-ls-1.audit.en.md b/subjects/my-ls-1/my-ls-1.audit.en.md new file mode 100644 index 00000000..871af62c --- /dev/null +++ b/subjects/my-ls-1/my-ls-1.audit.en.md @@ -0,0 +1,63 @@ +#### 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: ``. +###### Does it displays the same file? + +##### Run both my-ls-1 and the system command `ls` with the 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 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 `. +###### Does it displays the same file with the same display? + +##### Run both my-ls-1 and the system command `ls` with the arguments: `-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 flag: `-l /usr/bin`. +###### Does it displays 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. +###### 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 `. +###### 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 Date: Thu, 16 Jan 2020 15:37:43 +0000 Subject: [PATCH 2/2] fixing errors --- subjects/my-ls-1/my-ls-1.audit.en.md | 3 +-- subjects/my-ls-1/my-ls-1.en.md | 1 + 2 files changed, 2 insertions(+), 2 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 871af62c..fa8139df 100644 --- a/subjects/my-ls-1/my-ls-1.audit.en.md +++ b/subjects/my-ls-1/my-ls-1.audit.en.md @@ -36,11 +36,10 @@ ##### 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 `. ###### 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 `, in which the directory chosen contains folders. ###### Does it displays the same files and/or folders in the same order? #### General diff --git a/subjects/my-ls-1/my-ls-1.en.md b/subjects/my-ls-1/my-ls-1.en.md index 07ee61cf..34b45b6b 100644 --- a/subjects/my-ls-1/my-ls-1.en.md +++ b/subjects/my-ls-1/my-ls-1.en.md @@ -13,6 +13,7 @@ - `-a` - `-r` - `-t` + - Note that you can use various flags, in various ways, just like in `ls`. - When it comes to the `ls -l` display, it must be identical to the system command. - Other flags displays are up to you.