commit | dd516fe9ed73992d2f253a53fc5b21523c99a72a | [log] [tgz] |
---|---|---|
author | Yuanzhi Gao <billmaxwell@ucla.edu> | Thu Apr 23 04:18:24 2015 -0700 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Wed Jun 24 10:55:28 2015 -0700 |
tree | 9b3396a89116a5ba4536fbf7e476b9501bc04557 | |
parent | d265235265fb03eeb473ccbefc25595095eebec1 [diff] [blame] |
tests+ci: Add and enable a partial unit test coverage Change-Id: I6dbc5cf4d68679bd6f943322f572313884c8aef7 Refs: #2369
diff --git a/.jenkins.d/util.sh b/.jenkins.d/util.sh new file mode 100755 index 0000000..81c8931 --- /dev/null +++ b/.jenkins.d/util.sh
@@ -0,0 +1,9 @@ +has() { + local p=$1 + shift + local x + for x in "$@"; do + [[ "${x}" == "${p}" ]] && return 0 + done + return 1 +}