1
0

2 Ревизии 09ecdd31fd ... a4ea83d0f9

Автор SHA1 Съобщение Дата
  Pi a4ea83d0f9 add missing test files преди 2 месеца
  Pi 5d26638a6a update 'ls; sudo ls : -snl' case преди 2 месеца
променени са 4 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 0 0
      tests/capture-ls-data-sudo/d
  2. 0 0
      tests/capture-ls-data-sudo/e
  3. 0 0
      tests/capture-ls-data-sudo/f
  4. 2 0
      tests/test.sh

+ 0 - 0
tests/capture-ls-data-sudo/d


+ 0 - 0
tests/capture-ls-data-sudo/e


+ 0 - 0
tests/capture-ls-data-sudo/f


+ 2 - 0
tests/test.sh

@@ -150,6 +150,8 @@ export RECALL_FZF_ENABLE RECALL_VIPE_ENABLE RECALL_ISELECT_ENABLE
 	: When
 	+ "${CMD_SUDO[@]}"
 	: Then
+	! [ "$(@ -ln1 sudo ls)" = "$(@ -ln1 ls)" ]
+	! [ "$(@ -sln1 sudo ls)" = "$(@ -sln1 ls)" ]
 	[ "$(@ -ln1 sudo ls)" = "$(find "$LOG_ROOT"/sudo/ls -mindepth 1 -maxdepth 1 -print0 | head -z -n1 | xargs -0 readlink -e)" ]
 	[ "$(@ -ln1 ls)" = "$(find "$LOG_ROOT"/sudo/ls -mindepth 1 -maxdepth 1 -print0 | head -z -n1 | xargs -0 readlink -e)" ]
 	[ "$(@ -sln1 sudo ls)" = "${CMD_SUDO[*]}" ]