[Groonga-commit] groonga/groonga-normalizer-mysql [master] Make tmpfs availability check more strict

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Mar 23 21:35:45 JST 2013


Kouhei Sutou	2013-03-23 21:35:45 +0900 (Sat, 23 Mar 2013)

  New Revision: b61368e4d6b2069997fb24f7cb7982e037c4a7e2
  https://github.com/groonga/groonga-normalizer-mysql/commit/b61368e4d6b2069997fb24f7cb7982e037c4a7e2

  Message:
    Make tmpfs availability check more strict

  Modified files:
    test/run-test.sh

  Modified: test/run-test.sh (+1 -1)
===================================================================
--- test/run-test.sh    2013-03-23 21:35:24 +0900 (7582733)
+++ test/run-test.sh    2013-03-23 21:35:45 +0900 (af39bdd)
@@ -137,7 +137,7 @@ if test "$have_targets" != "true"; then
 fi
 
 tmpfs=/run/shm
-if test -e $tmpfs; then
+if test -d $tmpfs -a -w $tmpfs; then
     rm -rf "tmp"
     ln -s $tmpfs "tmp"
 fi
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index