]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test: Change interpreter from /bin/bash to /bin/sh
authorAlan Somers <asomers@gmail.com>
Fri, 11 Oct 2013 20:49:36 +0000 (13:49 -0700)
committerNoah Watkins <noahwatkins@gmail.com>
Mon, 28 Oct 2013 18:50:49 +0000 (11:50 -0700)
Change interpreter from /bin/bash to /bin/sh.  bash is not guaranteed
to be installed on all Unix systems, and it's not guaranteed to be
installed into /bin either.

There are other scripts that specify /bin/bash; they need to be
examined one by one to look for bashisms.  This was the only one I had
to modify to get unit tests working.

Signed-off-by: Alan Somers <asomers@gmail.com>
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
src/unittest_bufferlist.sh

index 0f05afe07b790f849430d2476e3c5e2b441e56e4..8ddf24f8884c7b84e868298dcbbeb1ef8d2989be 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # Ceph - scalable distributed file system
 #