veyron/services/mgmt/profile: fixing the failing shell test
Change-Id: I7e043e9271317eed2a7db352d871a0003f53662e
diff --git a/services/mgmt/profile/profiled/test.sh b/services/mgmt/profile/profiled/test.sh
index 15670f9..380daf1 100755
--- a/services/mgmt/profile/profiled/test.sh
+++ b/services/mgmt/profile/profiled/test.sh
@@ -37,21 +37,21 @@
./profile label "${PROFILE}" | tee "${OUTPUT}" || shell_test::fail "line ${LINENO}: 'label' failed"
GOT=$(cat "${OUTPUT}")
WANT="example"
- shell_test::assert_eq "${GOT}" "example" "${LINENO}"
+ shell_test::assert_eq "${GOT}" "${WANT}" "${LINENO}"
# Retrieve the profile description.
OUTPUT=$(shell::tmp_file)
./profile description "${PROFILE}" | tee "${OUTPUT}" || shell_test::fail "line ${LINENO}: 'description' failed"
GOT=$(cat "${OUTPUT}")
WANT="Example profile to test the profile manager implementation."
- shell_test::assert_eq "${GOT}" "example" "${LINENO}"
+ shell_test::assert_eq "${GOT}" "${WANT}" "${LINENO}"
# Retrieve the profile specification.
OUTPUT=$(shell::tmp_file)
./profile spec "${PROFILE}" | tee "${OUTPUT}" || shell_test::fail "line ${LINENO}: 'spec' failed"
GOT=$(cat "${OUTPUT}")
WANT='profile.Specification{Arch:"amd64", Description:"Example profile to test the profile manager implementation.", Format:"ELF", Libraries:map[profile.Library]struct {}{profile.Library{Name:"foo", MajorVersion:"1", MinorVersion:"0"}:struct {}{}}, Label:"example", OS:"linux"}'
- shell_test::assert_eq "${GOT}" "example" "${LINENO}"
+ shell_test::assert_eq "${GOT}" "${WANT}" "${LINENO}"
# Remove the profile.
./profile remove "${PROFILE}" || shell_test::fail "line ${LINENO}: 'remove' failed"