|
@@ -61,7 +61,8 @@ export RECALL_FZF_ENABLE RECALL_VIPE_ENABLE RECALL_ISELECT_ENABLE
|
|
|
|
|
|
( TEST_CASE "Capture : ls"
|
|
|
CMD=(ls -lah capture-ls-data)
|
|
|
- + "${CMD[@]}"
|
|
|
+ OUT="$(+ "${CMD[@]}")"
|
|
|
+ [ "$OUT" = "$("${CMD[@]}")" ]
|
|
|
[ "$(@ ls)" = "$("${CMD[@]}")" ]
|
|
|
[ "$(@ -ln1 ls)" = "$(readlink -e "$LOG_ROOT"/ls/*)" ]
|
|
|
[ "$(@ -sln1 ls)" = "${CMD[*]}" ]
|
|
@@ -70,7 +71,8 @@ export RECALL_FZF_ENABLE RECALL_VIPE_ENABLE RECALL_ISELECT_ENABLE
|
|
|
( TEST_CASE "Capture : sudo ls"
|
|
|
|
|
|
CMD=(sudo ls -lah capture-ls-data)
|
|
|
- + "${CMD[@]}"
|
|
|
+ OUT="$(+ "${CMD[@]}")"
|
|
|
+ [ "$OUT" = "$("${CMD[@]}")" ]
|
|
|
[ "$(@ sudo ls)" = "$("${CMD[@]}")" ]
|
|
|
[ "$(@ -ln1 sudo ls)" = "$(readlink -e "$LOG_ROOT"/sudo/ls/*)" ]
|
|
|
[ "$(@ -ln1 ls)" = "$(readlink -e "$LOG_ROOT"/sudo/ls/*)" ]
|