[CRIU] [PATCH 01/12] test/zdtm.sh: require bash

Kir Kolyshkin kir at openvz.org
Fri Sep 13 14:46:58 EDT 2013


There are a lot of bash-only statements in this script, so let's
ask for /bin/bash explicitly to avoid weird errors when running
on e.g. Debian which have dash installed by default.

Alternatively, we can rewrite this to be pure shell, but it's
too much work to do.

Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
 test/zdtm.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/zdtm.sh b/test/zdtm.sh
index 9cb4030..7cfbbe7 100755
--- a/test/zdtm.sh
+++ b/test/zdtm.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 ZP="zdtm/live"
 
-- 
1.8.1.4



More information about the CRIU mailing list