mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-24 19:42:07 +03:00
13 lines
229 B
Bash
Executable File
13 lines
229 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
# Check version
|
|
EXPECTED="1.48.0"
|
|
ACTUAL="$(cargo --version | cut -d" " -f2)"
|
|
echo "check that version is $EXPECTED"
|
|
if [ "$EXPECTED" != "$ACTUAL" ]; then
|
|
echo "Failure! version is $ACTUAL"
|
|
exit 1
|
|
fi
|
|
|