ia64/xen-unstable
annotate tools/check/check_iproute @ 6385:f34e732ed4bf
Xenstore testsuite robustness: save output rather than rerun on failure.
"make check" reruns a test which fails with more verbosity. If the test
fails intermittently, that doesn't work well: save the output and simply
dump it if the test fails.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
"make check" reruns a test which fails with more verbosity. If the test
fails intermittently, that doesn't work well: save the output and simply
dump it if the test fails.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author | cl349@firebug.cl.cam.ac.uk |
---|---|
date | Tue Aug 23 19:58:59 2005 +0000 (2005-08-23) |
parents | 24775547c56a |
children | 95cfc001ddd1 291e816acbf4 b2f4823b6ff0 |
rev | line source |
---|---|
iap10@4561 | 1 #!/bin/bash |
iap10@4561 | 2 # CHECK-INSTALL |
iap10@4561 | 3 |
iap10@4561 | 4 function error { |
iap10@4561 | 5 echo 'Check for iproute (ip addr) failed.' |
iap10@4561 | 6 exit 1 |
iap10@4561 | 7 } |
iap10@4561 | 8 |
iap10@4561 | 9 ip addr list || error |
iap10@4561 | 10 |