| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| root=tests/aws-baremetal-x86 |
| |
| output="$(./virt-what --test-root=$root 2>&1)" |
| expected="aws" |
| |
| if [ "$output" != "$expected" ]; then |
| echo "$0: test failed because output did not match expected" |
| echo "Expected output was:" |
| echo "----------------------------------------" |
| echo "$expected" |
| echo "----------------------------------------" |
| echo "But the actual output of the program was:" |
| echo "----------------------------------------" |
| echo "$output" |
| echo "----------------------------------------" |
| exit 1 |
| fi |