mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-09 09:39:16 +08:00
parent
2022df1068
commit
bd7c1ccf4b
1 changed files with 12 additions and 4 deletions
14
appveyor.yml
14
appveyor.yml
|
@ -143,6 +143,7 @@ clone_script:
|
||||||
ExecUpdate "update2" "C:\ProxSpace\msys2\msys2_shell.cmd -mingw32 -defterm -no-start /dev/null" "terminate?MSYS2"
|
ExecUpdate "update2" "C:\ProxSpace\msys2\msys2_shell.cmd -mingw32 -defterm -no-start /dev/null" "terminate?MSYS2"
|
||||||
|
|
||||||
Write-Host "Update " -NoNewLine
|
Write-Host "Update " -NoNewLine
|
||||||
|
|
||||||
Write-Host "[ OK ]" -ForegroundColor Green
|
Write-Host "[ OK ]" -ForegroundColor Green
|
||||||
install:
|
install:
|
||||||
- ps: >-
|
- ps: >-
|
||||||
|
@ -318,6 +319,13 @@ test_script:
|
||||||
if ($Cond -is "String" -and $Cond -like "*true*"){
|
if ($Cond -is "String" -and $Cond -like "*true*"){
|
||||||
$res= $true
|
$res= $true
|
||||||
}
|
}
|
||||||
|
ForEach($line in $Cond){
|
||||||
|
if ($line -like "*passed*"){
|
||||||
|
$res = $true
|
||||||
|
$Cond = $line
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
} Else {
|
} Else {
|
||||||
$res=$Cond
|
$res=$Cond
|
||||||
}
|
}
|
||||||
|
@ -373,11 +381,11 @@ test_script:
|
||||||
|
|
||||||
#proxmark logic tests
|
#proxmark logic tests
|
||||||
|
|
||||||
ExecTest "proxmark help" "proxmark3 -h" {bash -lc 'cd ~/client;./proxmark3 -h | grep -q wait && echo passed || echo failed'}
|
ExecTest "proxmark help" "proxmark3 -h" {bash -lc 'cd ~/client;./proxmark3 -h 2>&1 | grep -q wait && echo passed || echo failed'}
|
||||||
|
|
||||||
ExecTest "proxmark help text ISO7816" "proxmark3 -t" {bash -lc 'cd ~/client;./proxmark3 -t | grep -q ISO7816 && echo passed || echo failed'}
|
ExecTest "proxmark help text ISO7816" "proxmark3 -t" {bash -lc 'cd ~/client;./proxmark3 -t 2>&1 | grep -q ISO7816 && echo passed || echo failed'}
|
||||||
|
|
||||||
ExecTest "proxmark help text hardnested" "proxmark3 -t" {bash -lc 'cd ~/client;./proxmark3 -t | grep -q hardnested && echo passed || echo failed'}
|
ExecTest "proxmark help text hardnested" "proxmark3 -t" {bash -lc 'cd ~/client;./proxmark3 -t 2>&1 | grep -q hardnested && echo passed || echo failed'}
|
||||||
|
|
||||||
|
|
||||||
ExecTest "hf mf offline text" "hf mf" {bash -lc "cd ~/client;./proxmark3 -c 'hf mf'"} "at_enc"
|
ExecTest "hf mf offline text" "hf mf" {bash -lc "cd ~/client;./proxmark3 -c 'hf mf'"} "at_enc"
|
||||||
|
|
Loading…
Reference in a new issue