commit | ba3a0ccff6c4a530f03b6cfbab6a135dbaed2506 | [log] [tgz] |
---|---|---|
author | Masayoshi Kobayashi <masayoshi@onlab.us> | Fri Mar 01 00:43:10 2013 +0000 |
committer | Masayoshi Kobayashi <masayoshi@onlab.us> | Fri Mar 01 00:43:10 2013 +0000 |
tree | d982a9c70bb54b0fe0f21eb04346b8b37f7d1371 | |
parent | bd6b0fda10e0a355286b8c28ed9e6d5b7f0a00b0 [diff] |
Fixed bug in drop keyspace script
diff --git a/clean-cassandra.sh b/clean-cassandra.sh index a8a88eb..89cb7a4 100755 --- a/clean-cassandra.sh +++ b/clean-cassandra.sh
@@ -1,7 +1,7 @@ -#! /usr/bin/expect +#! /usr/bin/expect -f set timeout 5 spawn ~/apache-cassandra-1.1.4/bin/cassandra-cli -expect "\[default\@unknown\]" -send "drop onos;\r" -expect "\[default@unknown\]" -send "quit;\r" +expect "unknown\]\ " +send "drop keyspace onos;\n" +expect "unknown\]\ " +send "quit;\n"