diff options
author | Radostin Stoyanov <rstoyanov@fedoraproject.org> | 2021-05-25 08:30:52 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2021-09-03 20:31:00 +0300 |
commit | 8c303d1a6495972f97b87a458c1be0a214228e45 (patch) | |
tree | a31bb1e02559c341097ed5f63b1dd86ecb56d4c0 /test/others/crit | |
parent | e393001095e910fbcf2f1584f411f49ae32cb574 (diff) |
test/others/crit: add test for 'x'
This commit extends the CRIT tests to cover the 'x' command, which is
used to explore an image directory.
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Diffstat (limited to 'test/others/crit')
-rwxr-xr-x | test/others/crit/test.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/others/crit/test.sh b/test/others/crit/test.sh index 9d30575c4..2976730b3 100755 --- a/test/others/crit/test.sh +++ b/test/others/crit/test.sh @@ -100,6 +100,12 @@ function run_test2 { ${CRIT} decode -i "${JSON_IN}" || true ${CRIT} decode -i "${JSON_IN}" -o "${OUT}" || true ${CRIT} decode -i "${JSON_IN}" > "${OUT}" || true + + # explore image directory + ${CRIT} x ./ ps || _exit 1 + ${CRIT} x ./ fds || _exit 1 + ${CRIT} x ./ mems || _exit 1 + ${CRIT} x ./ rss || _exit 1 } gen_imgs |