projects
/
platform
/
upstream
/
nbd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2a8793
)
Fix test syntax, and add 'set -e' so that if we do this again in the future, we fail...
author
Wouter Verhelst
<w@uter.be>
Sat, 23 Jun 2012 23:43:49 +0000
(
01:43
+0200)
committer
Wouter Verhelst
<w@uter.be>
Sat, 23 Jun 2012 23:43:49 +0000
(
01:43
+0200)
simple_test
patch
|
blob
|
history
diff --git
a/simple_test
b/simple_test
index b90798b9338d613a656688b1987863c924407f09..2e05c575fc50170f2b04c9f5b6d4ac6d662585a6 100755
(executable)
--- a/
simple_test
+++ b/
simple_test
@@
-7,6
+7,8
@@
pidfile=${tmpdir}/nbd.pid
tmpnam=${tmpdir}/nbd.dd
mydir=$(dirname "`readlink -f $0`")
+set -e
+
ulimit -c unlimited
# Create a one-meg device
@@
-189,7
+191,7
@@
EOF
# This only works if we built nbd-client, which only exists on
# Linux. But hey, testing nbd-client itself isn't a bad idea,
# so here goes.
- if [
uname -s
!= "Linux" ]
+ if [
`uname -s`
!= "Linux" ]
then
retval=77
else