Lines Matching +full:com +full:- +full:seq
4 # Test that qemu-io fail with non-zero exit code
6 # Copyright (C) 2017 Nir Soffer <nirsof@gmail.com>
23 owner=nirsof@gmail.com
25 seq=`basename $0`
26 echo "QA output created by $seq"
49 scratch_out="$TEST_DIR/img-create.out"
50 IMGFMT=raw IMGKEYSECRET= _make_test_img --no-opts $size >"$scratch_out"
52 rm -f "$scratch_out"
56 $QEMU_IO -f $IMGFMT -c "read 0 $size" "$TEST_IMG" 2>/dev/null
57 test $? -eq 1 || _fail "did not fail"
61 $QEMU_IO -c "read 0 $size" "$TEST_DIR/missing" 2>/dev/null
62 test $? -eq 1 || _fail "did not fail"
66 rm -f $seq.full