From 957c6dfa7282bc1a1310dff03cc590a093e822f4 Mon Sep 17 00:00:00 2001 From: sabbirirfan Date: Fri, 14 Jun 2024 15:05:11 +0600 Subject: [PATCH] test added for renaming alias --- scripts/demo/basic/rename-alias.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/demo/basic/rename-alias.sh b/scripts/demo/basic/rename-alias.sh index 719b5edd..5867aa17 100644 --- a/scripts/demo/basic/rename-alias.sh +++ b/scripts/demo/basic/rename-alias.sh @@ -3,14 +3,13 @@ # CREATE DATABASE AND KEYSTORE kli init --name rename-test --base "${KERI_TEMP_DIR}" --nopasscode -echo ${KERI_DEMO_SCRIPT_DIR} # Incept with the initial alias "sabbir" kli incept --name rename-test --base "${KERI_TEMP_DIR}" --alias sabbir --file ${KERI_DEMO_SCRIPT_DIR}/data/transferable-sample.json # Rename the alias from "sabbir" to "irfan" kli rename --name rename-test --base "${KERI_TEMP_DIR}" --alias sabbir irfan -# Extract aliases from status +# Extract alias from status irfan_alias=$(kli status --name rename-test --base "${KERI_TEMP_DIR}" --alias irfan | grep -Eo 'Alias:\s+(.+)' | awk '{print $2}')