perf-tests: #!/bin/bash -> #!/usr/bin/env bash
authorWilliam Casarin <jb55@jb55.com>
Fri, 31 May 2019 18:32:50 +0000 (11:32 -0700)
committerDavid Bremner <david@tethera.net>
Fri, 7 Jun 2019 10:59:56 +0000 (07:59 -0300)
I couldn't run the performance tests on my machines due to a hardcoded
bash path. Use env for finding bash in weird systems like NixOS.

Signed-off-by: William Casarin <jb55@jb55.com>
12 files changed:
performance-test/M00-new.sh
performance-test/M01-dump-restore.sh
performance-test/M02-show.sh
performance-test/M03-search.sh
performance-test/M04-reply.sh
performance-test/M05-reindex.sh
performance-test/M06-insert.sh
performance-test/T00-new.sh
performance-test/T01-dump-restore.sh
performance-test/T02-tag.sh
performance-test/T03-reindex.sh
performance-test/T04-thread-subquery.sh

index aab36e6953e2917b40a959a5bb4177d0c1cfd772..5858ab337fd8be17da7a64617fb3327971f45a0f 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 test_description='notmuch new'
 
index 32ab8dc9c0b99fac7e5375b17f8d184daea7187b..7850b4117d50740b322e09b2d8e82131fcc93d8c 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 test_description='dump and restore'
 
index 2e218fd3c4b6fd0c5ea9163a82084de627752918..40c5d4d756000d46fd12b2b5a16e1b2563f38a87 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 test_description='show'
 
index 343f5c7cfc24bba490ee67aa410be76937165763..a73a36abf1c75e163aac3c61e4c38c80695bb20b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 test_description='search'
 
index 3c1205dbc41206f67c086de8640c3ef615d23f0f..3b0f9e7848a36da230b4bcfef062c47d24929a8e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 test_description='search'
 
index 17e2c824698ab5852e11d57bd598222c686753f9..8ea7e7ee89a64c808d528ccde664da82d1f9a6c7 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 test_description='reindex'
 
index 5ae0656a505b1c909644ab6251988578db6d1bd8..12330c76981589ec46916925a3267c17be8047e3 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 test_description='search'
 
index 25391136c041c8417912e4dab82b3cd541b6521c..a14dd13f1477a7cab465e1ca6c3fefe88b53c690 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 test_description='notmuch new'
 
index 12f12e660533ecd288cbdd61e6dbfddb34b6f916..2a53e3b82f3bf4c113e570b9314e8a5c60055c80 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 test_description='dump and restore'
 
index 8c5dfd68031656503d2ba40b49271f9570b87eaa..9c895d6a910145266dde528039a61caabcc8fa70 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 test_description='tagging'
 
index 8e0a77f42c5d2da47b14fa1eb8c40c2ab2ac35e6..8db52a33a9e2d8c78ca3720bad83ebfceea07079 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 test_description='reindexing'
 
index 665d5a64d93fc0e27317d591c06f40b87dfb3e00..ba81f3836e371e1c6ae210c7b2db53e25885f80a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 test_description='thread subqueries'