Unverified Commit 28b75a69 authored by Gaurav Saini's avatar Gaurav Saini Committed by GitHub

[aws-cli] - issue #1224 - installing less for paginated output and avoiding errors (#1226)

Co-authored-by: 's avatarDaniel Doyle <ddoyle2017@github.com>
parent d9c2de0c
...@@ -68,7 +68,7 @@ check_packages() { ...@@ -68,7 +68,7 @@ check_packages() {
export DEBIAN_FRONTEND=noninteractive export DEBIAN_FRONTEND=noninteractive
check_packages curl ca-certificates gnupg2 dirmngr unzip bash-completion check_packages curl ca-certificates gnupg2 dirmngr unzip bash-completion less
verify_aws_cli_gpg_signature() { verify_aws_cli_gpg_signature() {
local filePath=$1 local filePath=$1
......
#!/bin/bash
set -e
# Import test library for `check` command
source dev-container-features-test-lib
check "less is installed, pagination works !" less --version
check "less binary installation path" which less
check "Testing paginated output with less" ls -R / | less
# Report result
reportResults
\ No newline at end of file
{
"less_installed": {
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"features": {
"aws-cli": {}
}
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment