Merge pull request #709 from matthiasbeyer/libimagstore/test-fixup
Fix absolute StoreId specification in imag-store test
This commit is contained in:
commit
4456c4240e
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ test_retrieve_nothing() {
|
||||||
imag-store create -p ${id} || { err "create failed"; return 1; }
|
imag-store create -p ${id} || { err "create failed"; return 1; }
|
||||||
|
|
||||||
out "Going to test the retrieve functionality now"
|
out "Going to test the retrieve functionality now"
|
||||||
local zero_out="$(retrieve --id /${id})"
|
local zero_out="$(retrieve --id ${id})" || return 1
|
||||||
out "Retrieving for zero_out finished"
|
out "Retrieving for zero_out finished"
|
||||||
|
|
||||||
if [[ ! -z "$zero_out" ]]; then
|
if [[ ! -z "$zero_out" ]]; then
|
||||||
|
@ -39,7 +39,7 @@ test_retrieve_content() {
|
||||||
|
|
||||||
out "Going to test the retrieve functionality now"
|
out "Going to test the retrieve functionality now"
|
||||||
|
|
||||||
local content_out="$(retrieve --id /${id} --content)"
|
local content_out="$(retrieve --id ${id} --content)" || return 1
|
||||||
out "Retrieving for content_out finished"
|
out "Retrieving for content_out finished"
|
||||||
|
|
||||||
if [[ ! -z "$content_out" ]]; then
|
if [[ ! -z "$content_out" ]]; then
|
||||||
|
|
Loading…
Reference in a new issue