mirror of
https://github.com/alexanderepstein/Bash-Snippets
synced 2018-11-08 02:59:35 +01:00
Fixing part of siteciphers test
This commit is contained in:
parent
7be6b96c14
commit
d4ae6e0062
1 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
#!/bin/env bats
|
||||
|
||||
@test "Testing siteciphers tool" {
|
||||
echo siteciphers
|
||||
}
|
||||
|
@ -30,6 +32,6 @@
|
|||
@test "Get the tools version with -v" {
|
||||
run siteciphers -v
|
||||
[ "$status" -eq 0 ]
|
||||
result=$( echo $(cheat -v) | grep -Eo "Version")
|
||||
result=$( echo $(siteciphers -v) | grep -Eo "Version")
|
||||
[ "$result" = "Version" ]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue