projects
/
rrq
/
fuse_xattrs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9b3c0a5
)
run_tests.sh: Check if the filesystem was successfully mounted.
author
Felipe Barriga Richards
<spam@felipebarriga.cl>
Mon, 27 Feb 2017 02:31:19 +0000
(23:31 -0300)
committer
Felipe Barriga Richards
<spam@felipebarriga.cl>
Mon, 27 Feb 2017 02:31:19 +0000
(23:31 -0300)
run_tests.sh
patch
|
blob
|
history
diff --git
a/run_tests.sh
b/run_tests.sh
index a3dcb365972f9e1ea686dae32d21ce07e5bc0716..1f2fbf14f4f3e3f6e0e4db7ae2e04c07fd43bd27 100755
(executable)
--- a/
run_tests.sh
+++ b/
run_tests.sh
@@
-4,6
+4,12
@@
mkdir -p test/mount
mkdir -p test/source
./fuse_xattrs -o nonempty test/source/ test/mount/
+if [ $? -ne 0 ]; then
+ echo "Error mounting the filesystem."
+ echo "Do you have permissions?"
+ exit 1
+fi
+
pushd test
set +e