aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am1
-rw-r--r--tests/terminate-instances.at39
-rw-r--r--tests/testsuite.at1
3 files changed, 41 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 61046ba..36927c7 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -84,6 +84,7 @@ TESTSUITE_AT = \
84 sortts.at\ 84 sortts.at\
85 start-instances.at\ 85 start-instances.at\
86 stop-instances.at\ 86 stop-instances.at\
87 terminate-instances.at\
87 tagshairy.at\ 88 tagshairy.at\
88 testsuite.at\ 89 testsuite.at\
89 urlenc01.at\ 90 urlenc01.at\
diff --git a/tests/terminate-instances.at b/tests/terminate-instances.at
new file mode 100644
index 0000000..7242986
--- /dev/null
+++ b/tests/terminate-instances.at
@@ -0,0 +1,39 @@
1# This file is part of Eclat -*- Autotest -*-
2# Copyright (C) 2012-2018 Sergey Poznyakoff
3#
4# Eclat is free software; you can redistribute it and/or modify
5# it under the terms of the GNU General Public License as published by
6# the Free Software Foundation; either version 3, or (at your option)
7# any later version.
8#
9# Eclat is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12# GNU General Public License for more details.
13#
14# You should have received a copy of the GNU General Public License
15# along with Eclat. If not, see <http://www.gnu.org/licenses/>.
16
17ECLAT_TEST_FORMAT([TerminateInstances],
18[TerminateInstances],
19[terminate-instances.fln],
20[<TerminateInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
21 <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
22 <instancesSet>
23 <item>
24 <instanceId>i-1234567890abcdef0</instanceId>
25 <currentState>
26 <code>32</code>
27 <name>shutting-down</name>
28 </currentState>
29 <previousState>
30 <code>16</code>
31 <name>running</name>
32 </previousState>
33 </item>
34 </instancesSet>
35</TerminateInstancesResponse>
36],
37[i-1234567890abcdef0: running => shutting-down
38])
39
diff --git a/tests/testsuite.at b/tests/testsuite.at
index 6583b89..0d25b97 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -78,6 +78,7 @@ m4_include([describe-volumes.at])
78m4_include([get-console-output.at]) 78m4_include([get-console-output.at])
79m4_include([start-instances.at]) 79m4_include([start-instances.at])
80m4_include([stop-instances.at]) 80m4_include([stop-instances.at])
81m4_include([terminate-instances.at])
81 82
82AT_BANNER([Sort]) 83AT_BANNER([Sort])
83m4_include([sortstring.at]) 84m4_include([sortstring.at])

Return to:

Send suggestions and report system problems to the System administrator.