really re-fix linux cache clear
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 22 Jan 2015 17:21:15 +0000 (12:21 -0500)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 22 Jan 2015 17:21:49 +0000 (12:21 -0500)
tools/run-readtest.sh

index b50add4944558beeaa22d234b21af0e7b316023a..fb1d6cd3ede8c9d89d9db19dafe8e07b57aaa741 100755 (executable)
@@ -73,7 +73,7 @@ for bs in $@ ; do
     if uname -a | grep --silent arwin ; then
         # clears cache on OS X
         sudo purge
-    elif [ -f /proc/sys/vm/drop_cache ] ; then
+    elif [ -f /proc/sys/vm/drop_caches ] ; then
         # Linux cache clearing
         echo 3 | sudo tee /proc/sys/vm/drop_caches >/dev/null
     else