summaryrefslogtreecommitdiffstats
path: root/__root__
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2015-04-02 17:00:08 +0200
committerJan Pokorný <jpokorny@redhat.com>2015-04-08 19:55:53 +0200
commitfe27fe9ab28b4f0f7886fe43a7ad89b551381fdf (patch)
treec2a2b995086a05cd4bdb48487708ae4e33349cb7 /__root__
parent59c6a6cfa0b414e354d8ad515f0954ec087f99b5 (diff)
downloadclufter-fe27fe9ab28b4f0f7886fe43a7ad89b551381fdf.tar.gz
clufter-fe27fe9ab28b4f0f7886fe43a7ad89b551381fdf.tar.xz
clufter-fe27fe9ab28b4f0f7886fe43a7ad89b551381fdf.zip
run-check: acknowledge distro differences even for ccs2cib
Hence hard-code the distro to the testing command to make sure it reproduces what the hardwired referential results where obtained with. Check, e.g., this commit to learn about what I mean: filters/ccsflat2cibprelude[clusternode]: conditional node id. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to '__root__')
-rwxr-xr-x__root__/run-check5
1 files changed, 3 insertions, 2 deletions
diff --git a/__root__/run-check b/__root__/run-check
index cd8c523..c6a5f92 100755
--- a/__root__/run-check
+++ b/__root__/run-check
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright 2014 Red Hat, Inc.
+# Copyright 2015 Red Hat, Inc.
# Part of clufter project
# Licensed under GPLv2+ (a copy included | http://gnu.org/licenses/gpl-2.0.txt)
@@ -36,7 +36,8 @@ which ccs_flatten 2>/dev/null || (
run_check() {
# self-check for sanity usage
testcib="$(mktemp)" testcoro="$(mktemp)"
- { { ${PYTHONEXEC} run-dev ccs2pcs-needle "${@}" -- - "${testcib}" - \
+ { { ${PYTHONEXEC} run-dev ccs2pcs-needle --dist redhat,7.1,Maipo \
+ "${@}" -- - "${testcib}" - \
| grep -Ev 'key: _NOT_SECRET--' > "${testcoro}"; } \
&& echo "TEST: execution OK" \
|| { echo "TEST: execution FAIL"; ret=20; }; }<<EOF