test/devices.bats: fix a shellcheck warning
This fixes the following warning:
In devices.bats line 163:
[[ ! -z "$output" ]]
^-- SC2236: Use -n instead of ! -z.
@@ -160,7 +160,7 @@ EOF
[[ -z "$output" ]]
output=$(crictl exec --sync "$ctr_id" sh -c "head -n1 /dev/peterfoo")
- [[ ! -z "$output" ]]
+ [[ -n "$output" ]]
}
@test "annotation should fail if one device is invalid" {
