diff options
author | Enbo Wang <wangenbo@huawei.com> | 2019-04-23 13:42:21 +0000 |
---|---|---|
committer | Enbo Wang <wangenbo@huawei.com> | 2019-04-23 14:17:45 +0000 |
commit | 6ab8b62c35c6c850b95dbb3206de78a6ddb1206d (patch) | |
tree | 3d20b3abea69a298426e70e1fe68efa8015e7d13 /test/mocks/emssimulator/install.sh | |
parent | ca2b87e4a1e01d1184b0793ea98ddd5385dec6a6 (diff) |
Add an EMS simulator
Change-Id: I4fedf9a812e19033e7f9a1bff55eae264bc5122f
Issue-ID: INT-1041
Signed-off-by: Enbo Wang <wangenbo@huawei.com>
Diffstat (limited to 'test/mocks/emssimulator/install.sh')
-rwxr-xr-x | test/mocks/emssimulator/install.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/mocks/emssimulator/install.sh b/test/mocks/emssimulator/install.sh new file mode 100755 index 000000000..e3069aae2 --- /dev/null +++ b/test/mocks/emssimulator/install.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +readonly old_pwd=$PWD +cd swm/sw_server_simulator + +for i in `ls -1`; do + if [ -d $i ]; then + cd $i + echo $i + zip -r ${i}.zip * + mv ${i}.zip .. + cd $OLDPWD + fi +done + +cd $old_pwd + |