projects
/
nbd.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add "temporary" option, and ability to create files.
[nbd.git]
/
simple_test
diff --git
a/simple_test
b/simple_test
index
c790311
..
a25eafd
100755
(executable)
--- a/
simple_test
+++ b/
simple_test
@@
-140,9
+140,9
@@
EOF
flush = true
fua = true
rotational = true
flush = true
fua = true
rotational = true
+ filesize = 52428800
+ temporary = true
EOF
EOF
- # we need a bigger disk
- dd if=/dev/zero of=$tmpnam bs=1M count=50 >/dev/null 2>&1
./nbd-server -C ${conffile} -p ${pidfile} &
PID=$!
sleep 1
./nbd-server -C ${conffile} -p ${pidfile} &
PID=$!
sleep 1
@@
-158,9
+158,9
@@
EOF
flush = true
fua = true
rotational = true
flush = true
fua = true
rotational = true
+ filesize = 52428800
+ temporary = true
EOF
EOF
- # we need a bigger disk
- dd if=/dev/zero of=$tmpnam bs=1M count=50 >/dev/null 2>&1
./nbd-server -C ${conffile} -p ${pidfile} &
PID=$!
sleep 1
./nbd-server -C ${conffile} -p ${pidfile} &
PID=$!
sleep 1