Code Review
/
ric-plt
/
lib
/
rmr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Complete rmr test coverage, restructure get_meid to be correct.
[ric-plt/lib/rmr.git]
/
test
/
run_all_test.ksh
diff --git
a/test/run_all_test.ksh
b/test/run_all_test.ksh
index
d195d46
..
b0b790f
100644
(file)
--- a/
test/run_all_test.ksh
+++ b/
test/run_all_test.ksh
@@
-113,7
+113,13
@@
log_it "[INFO] validating .deb"
set -e
cd .build
ls -al *.deb
set -e
cd .build
ls -al *.deb
- dpkg -i *.deb
+ if whence dpkg >/dev/null 2>&1
+ then
+ dpkg -i *.deb
+ else
+ log_it "[INFO] Deb installation check skipped. dpkg does not exist; trying make install"
+ make install
+ fi
) >/tmp/dpkg.log 2>&1
rc=$?
err_cat $rc /tmp/dpkg.log
) >/tmp/dpkg.log 2>&1
rc=$?
err_cat $rc /tmp/dpkg.log