forked from erlware-deprecated/faxien
-
Notifications
You must be signed in to change notification settings - Fork 0
/
smoke_test.sh
executable file
·62 lines (49 loc) · 1.46 KB
/
smoke_test.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/bin/sh
# Thanks to Scott Parish for this tip. Halts the shell execution on
# the failure of a simple command (see sh SHELL GRAMMER for more).
set -e
echo " Starting the Faxien/Epkg Smoke Test"
echo "====================================="
echo ""
faxien search cos
faxien installed #| head -n 5
echo "describe the sinan application at its latest version"
faxien describe_app sinan #| head -n 5
#(sleep 1; echo "yes") |
faxien rr sinan
echo "setting target erts vsn to 5.5.5 for install"
faxien stev 5.5.5
faxien install-release sinan 0.8.6
echo "fetching the erl release and the tv app"
mkdir tmp
faxien fr erl ./tmp
faxien fa tv ./tmp
ls ./tmp
rm -rf ./tmp
faxien outdated_apps
echo "upgrade the sinan app"
faxien upgrade_app sinan
echo "upgrade the sinan release"
faxien upgrade_release sinan
faxien outdated-releases
echo "upgrade all installed releases"
faxien upgrade-all-releases
echo "add and remove publish repos"
faxien add_publish_repo http://test_publish_repo.com
faxien show_publish_repos
faxien remove_publish_repo http://test_publish_repo.com
faxien show_publish_repos
echo "add and remove repos"
faxien add_repo http://testrepo.com
faxien show_repos
faxien remove_repo http://testrepo.com
faxien show_repos
echo "show request timeout"
faxien show_request_timeout
echo "update request timeout to 99999"
faxien set_request_timeout 99999
echo "show request altered timeout"
faxien show_request_timeout
echo "show faxien and epkg versions"
faxien version
epkg version