[Groonga-commit] groonga/groonga [master] test: use tmpfs

Back to archive index

null+****@clear***** null+****@clear*****
2012年 8月 6日 (月) 22:51:25 JST


Kouhei Sutou	2012-08-06 22:51:25 +0900 (Mon, 06 Aug 2012)

  New Revision: a31f035a1455e387749bdd2784b98be92ea99cfa
  https://github.com/groonga/groonga/commit/a31f035a1455e387749bdd2784b98be92ea99cfa

  Log:
    test: use tmpfs

  Modified files:
    test/unit/run-test.sh

  Modified: test/unit/run-test.sh (+6 -0)
===================================================================
--- test/unit/run-test.sh    2012-08-06 22:44:51 +0900 (4ea3a19)
+++ test/unit/run-test.sh    2012-08-06 22:51:25 +0900 (e1a18e6)
@@ -87,6 +87,12 @@ case `uname` in
 	;;
 esac
 
+tmpfs=/dev/shm
+if test -e $tmpfs; then
+    rm -rf "$BASE_DIR/tmp"
+    ln -s $tmpfs "$BASE_DIR/tmp"
+fi
+
 no_test=1
 
 cutter_result=0
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



Groonga-commit メーリングリストの案内
Back to archive index