Browse code

Merge "Move swift CLI commands to OSC commands"

Jenkins authored on 2014/10/28 12:16:28
Showing 1 changed files
... ...
@@ -45,16 +45,16 @@ CONTAINER=ex-swift
45 45
 # =============
46 46
 
47 47
 # Check if we have to swift via keystone
48
-swift stat || die $LINENO "Failure geting status"
48
+swift stat || die $LINENO "Failure getting status"
49 49
 
50 50
 # We start by creating a test container
51
-swift post $CONTAINER || die $LINENO "Failure creating container $CONTAINER"
51
+openstack container create $CONTAINER || die $LINENO "Failure creating container $CONTAINER"
52 52
 
53 53
 # add some files into it.
54
-swift upload $CONTAINER /etc/issue || die $LINENO "Failure uploading file to container $CONTAINER"
54
+openstack object create $CONTAINER /etc/issue || die $LINENO "Failure uploading file to container $CONTAINER"
55 55
 
56 56
 # list them
57
-swift list $CONTAINER || die $LINENO "Failure listing contents of container $CONTAINER"
57
+openstack object list $CONTAINER || die $LINENO "Failure listing contents of container $CONTAINER"
58 58
 
59 59
 # And we may want to delete them now that we have tested that
60 60
 # everything works.