File: source-is-a-bashism.diff

package info (click to toggle)
xmlsec1 1.3.8-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 20,072 kB
  • sloc: ansic: 100,944; xml: 19,279; sh: 8,268; makefile: 1,188; javascript: 440; perl: 199
file content (19 lines) | stat: -rw-r--r-- 405 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/tests/testrun.sh b/tests/testrun.sh
index 74701fa..0f1d9aa 100755
--- a/tests/testrun.sh
+++ b/tests/testrun.sh
@@ -1,4 +1,4 @@
-#!/bin/sh -x
+#!/bin/bash -x
 
 OS_ARCH=`uname -o 2>/dev/null || echo ""`
 OS_KERNEL=`uname -s`
@@ -769,7 +769,7 @@ execEncTest() {
 rm -rf $tmpfile $tmpfile.2 $tmpfile.3
 
 # run tests
-source "$testfile"
+. "$testfile"
 
 # calculate success
 percent_success=0