opa-ff/opa-ff-add-shebang-for-exp-files.patch

405 lines
14 KiB
Diff
Raw Normal View History

commit a63f004c9c628bcaa4750485bb3949dbc62a8422
Author: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com>
Date: Thu Jun 8 11:13:38 2017 +0200
opa-ff add shebang for exp files
Signed-off-by: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com>
diff --git IbaTools/FastFabric/chassis_configure.exp IbaTools/FastFabric/chassis_configure.exp
index f18397fb794d..6ad42beb6c85 100644
--- IbaTools/FastFabric/chassis_configure.exp
+++ IbaTools/FastFabric/chassis_configure.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015, Intel Corporation
diff --git IbaTools/FastFabric/chassis_fmconfig.exp IbaTools/FastFabric/chassis_fmconfig.exp
index 9ec04cc20b5d..f407dceec5b0 100644
--- IbaTools/FastFabric/chassis_fmconfig.exp
+++ IbaTools/FastFabric/chassis_fmconfig.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015-2017, Intel Corporation
diff --git IbaTools/FastFabric/chassis_fmcontrol.exp IbaTools/FastFabric/chassis_fmcontrol.exp
index 477953a9dc0f..129ab654d081 100644
--- IbaTools/FastFabric/chassis_fmcontrol.exp
+++ IbaTools/FastFabric/chassis_fmcontrol.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015-2017, Intel Corporation
diff --git IbaTools/FastFabric/chassis_fmgetconfig.exp IbaTools/FastFabric/chassis_fmgetconfig.exp
index 2e61cde7241e..f6a4aa8d75bc 100644
--- IbaTools/FastFabric/chassis_fmgetconfig.exp
+++ IbaTools/FastFabric/chassis_fmgetconfig.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015-2017, Intel Corporation
diff --git IbaTools/FastFabric/chassis_fmgetsecurityfiles.exp IbaTools/FastFabric/chassis_fmgetsecurityfiles.exp
index d31e055ff22f..afd9025f77be 100644
--- IbaTools/FastFabric/chassis_fmgetsecurityfiles.exp
+++ IbaTools/FastFabric/chassis_fmgetsecurityfiles.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015-2017, Intel Corporation
diff --git IbaTools/FastFabric/chassis_fmsecurityfiles.exp IbaTools/FastFabric/chassis_fmsecurityfiles.exp
index 5c2a45dfe394..69c819af80b4 100644
--- IbaTools/FastFabric/chassis_fmsecurityfiles.exp
+++ IbaTools/FastFabric/chassis_fmsecurityfiles.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015-2017, Intel Corporation
diff --git IbaTools/FastFabric/chassis_getconfig.exp IbaTools/FastFabric/chassis_getconfig.exp
index 7454afce2e9d..6ede46d963b7 100644
--- IbaTools/FastFabric/chassis_getconfig.exp
+++ IbaTools/FastFabric/chassis_getconfig.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015, Intel Corporation
diff --git IbaTools/FastFabric/chassis_reboot.exp IbaTools/FastFabric/chassis_reboot.exp
index b5f1f39b7d2a..8642c498ebc6 100644
--- IbaTools/FastFabric/chassis_reboot.exp
+++ IbaTools/FastFabric/chassis_reboot.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015-2017, Intel Corporation
diff --git IbaTools/FastFabric/chassis_upgrade.exp IbaTools/FastFabric/chassis_upgrade.exp
index b2aa797b671e..981d2617e417 100644
--- IbaTools/FastFabric/chassis_upgrade.exp
+++ IbaTools/FastFabric/chassis_upgrade.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015-2017, Intel Corporation
diff --git IbaTools/FastFabric/configipoib.exp IbaTools/FastFabric/configipoib.exp
index 10673114e371..8a0d86121986 100644
--- IbaTools/FastFabric/configipoib.exp
+++ IbaTools/FastFabric/configipoib.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015-2017, Intel Corporation
diff --git IbaTools/FastFabric/ff_function.exp IbaTools/FastFabric/ff_function.exp
index ab64a00d054a..55f3d2c14bad 100644
--- IbaTools/FastFabric/ff_function.exp
+++ IbaTools/FastFabric/ff_function.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015-2017, Intel Corporation
diff --git IbaTools/FastFabric/ipoibping.exp IbaTools/FastFabric/ipoibping.exp
index 5739e6072066..48bd84131283 100644
--- IbaTools/FastFabric/ipoibping.exp
+++ IbaTools/FastFabric/ipoibping.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015-2017, Intel Corporation
diff --git IbaTools/FastFabric/load.exp IbaTools/FastFabric/load.exp
index b9d07514d3be..687983e68be4 100644
--- IbaTools/FastFabric/load.exp
+++ IbaTools/FastFabric/load.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015-2017, Intel Corporation
diff --git IbaTools/FastFabric/mpiperf.exp IbaTools/FastFabric/mpiperf.exp
index 3b69e3a6e0dd..69e0f9afdcc9 100644
--- IbaTools/FastFabric/mpiperf.exp
+++ IbaTools/FastFabric/mpiperf.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015-2017, Intel Corporation
diff --git IbaTools/FastFabric/mpiperfdeviation.exp IbaTools/FastFabric/mpiperfdeviation.exp
index bcd9839b16a0..113639d7326c 100644
--- IbaTools/FastFabric/mpiperfdeviation.exp
+++ IbaTools/FastFabric/mpiperfdeviation.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015-2017, Intel Corporation
diff --git IbaTools/FastFabric/reboot.exp IbaTools/FastFabric/reboot.exp
index 53fc4b6d6d20..97b5e2bb7665 100644
--- IbaTools/FastFabric/reboot.exp
+++ IbaTools/FastFabric/reboot.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015-2017, Intel Corporation
diff --git IbaTools/FastFabric/sacache.exp IbaTools/FastFabric/sacache.exp
index b9c188d02a8a..bc9ceaa9f4b0 100644
--- IbaTools/FastFabric/sacache.exp
+++ IbaTools/FastFabric/sacache.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015-2017, Intel Corporation
diff --git IbaTools/FastFabric/switch_capture.exp IbaTools/FastFabric/switch_capture.exp
index 4e7054df4024..30351ccfab6f 100644
--- IbaTools/FastFabric/switch_capture.exp
+++ IbaTools/FastFabric/switch_capture.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015-2017, Intel Corporation
diff --git IbaTools/FastFabric/switch_configure.exp IbaTools/FastFabric/switch_configure.exp
index 3516482b53ee..0bd7c8391d1f 100644
--- IbaTools/FastFabric/switch_configure.exp
+++ IbaTools/FastFabric/switch_configure.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015, Intel Corporation
diff --git IbaTools/FastFabric/switch_dump.exp IbaTools/FastFabric/switch_dump.exp
index dae0e5b26d45..0d17627946fd 100644
--- IbaTools/FastFabric/switch_dump.exp
+++ IbaTools/FastFabric/switch_dump.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015-2017, Intel Corporation
diff --git IbaTools/FastFabric/switch_fwverify.exp IbaTools/FastFabric/switch_fwverify.exp
index 7cf1101384ec..20016f27b8e8 100644
--- IbaTools/FastFabric/switch_fwverify.exp
+++ IbaTools/FastFabric/switch_fwverify.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
diff --git IbaTools/FastFabric/switch_getconfig.exp IbaTools/FastFabric/switch_getconfig.exp
index 30d6b3fbdc60..16f8ed441ade 100644
--- IbaTools/FastFabric/switch_getconfig.exp
+++ IbaTools/FastFabric/switch_getconfig.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
diff --git IbaTools/FastFabric/switch_hwvpd.exp IbaTools/FastFabric/switch_hwvpd.exp
index 266518cc119c..e46696b6031d 100644
--- IbaTools/FastFabric/switch_hwvpd.exp
+++ IbaTools/FastFabric/switch_hwvpd.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
diff --git IbaTools/FastFabric/switch_info.exp IbaTools/FastFabric/switch_info.exp
index 735a5e5303a2..f5389a356542 100644
--- IbaTools/FastFabric/switch_info.exp
+++ IbaTools/FastFabric/switch_info.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
diff --git IbaTools/FastFabric/switch_ping.exp IbaTools/FastFabric/switch_ping.exp
index 87733455e0de..7d11f907d48a 100644
--- IbaTools/FastFabric/switch_ping.exp
+++ IbaTools/FastFabric/switch_ping.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
diff --git IbaTools/FastFabric/switch_reboot.exp IbaTools/FastFabric/switch_reboot.exp
index 1ee19eaa06f6..840e2a39f4ba 100644
--- IbaTools/FastFabric/switch_reboot.exp
+++ IbaTools/FastFabric/switch_reboot.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015-2017, Intel Corporation
diff --git IbaTools/FastFabric/switch_upgrade.exp IbaTools/FastFabric/switch_upgrade.exp
index 6c5c1041a179..1560d6b39f30 100644
--- IbaTools/FastFabric/switch_upgrade.exp
+++ IbaTools/FastFabric/switch_upgrade.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015-2017, Intel Corporation
diff --git IbaTools/FastFabric/upgrade.exp IbaTools/FastFabric/upgrade.exp
index dd4abe573690..de0e352bd440 100644
--- IbaTools/FastFabric/upgrade.exp
+++ IbaTools/FastFabric/upgrade.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015-2017, Intel Corporation
diff --git TestTools/basic.exp TestTools/basic.exp
index 4ffe1f5dbb10..cae42a380ad4 100644
--- TestTools/basic.exp
+++ TestTools/basic.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015, Intel Corporation
diff --git TestTools/chassis.exp TestTools/chassis.exp
index 93265e2d30ed..488ab27fbbf1 100644
--- TestTools/chassis.exp
+++ TestTools/chassis.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015-2020, Intel Corporation
diff --git TestTools/common_funcs.exp TestTools/common_funcs.exp
index 68d55d8fdf48..22bed8bdbb7e 100644
--- TestTools/common_funcs.exp
+++ TestTools/common_funcs.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015, Intel Corporation
diff --git TestTools/defs.exp TestTools/defs.exp
index 8e1a8e6e816d..2081a2b64d1e 100644
--- TestTools/defs.exp
+++ TestTools/defs.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015, Intel Corporation
diff --git TestTools/extmng.exp TestTools/extmng.exp
index cf6d989fc8f5..52caed45283b 100644
--- TestTools/extmng.exp
+++ TestTools/extmng.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015-2020, Intel Corporation
diff --git TestTools/ib.exp TestTools/ib.exp
index 06c4a6ecc645..5b32311d123f 100644
--- TestTools/ib.exp
+++ TestTools/ib.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015, Intel Corporation
diff --git TestTools/ibtools.exp TestTools/ibtools.exp
index 36b945c565eb..b23ae61a60d4 100644
--- TestTools/ibtools.exp
+++ TestTools/ibtools.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015, Intel Corporation
diff --git TestTools/install.exp TestTools/install.exp
index 773676547a28..8b84886318c8 100644
--- TestTools/install.exp
+++ TestTools/install.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015, Intel Corporation
diff --git TestTools/mpi.exp TestTools/mpi.exp
index f3b7e29fb0d0..d810878a5759 100644
--- TestTools/mpi.exp
+++ TestTools/mpi.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015-2020, Intel Corporation
diff --git TestTools/network.exp TestTools/network.exp
index c1b8867019f0..f4f212c5a59b 100644
--- TestTools/network.exp
+++ TestTools/network.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015, Intel Corporation
diff --git TestTools/opa_to_xml.exp TestTools/opa_to_xml.exp
index f81f07ae8c00..fd52484818ef 100644
--- TestTools/opa_to_xml.exp
+++ TestTools/opa_to_xml.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015-2020, Intel Corporation
diff --git TestTools/proc_mgr.exp TestTools/proc_mgr.exp
index abcb65d214ec..e86621d5ea12 100644
--- TestTools/proc_mgr.exp
+++ TestTools/proc_mgr.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015, Intel Corporation
diff --git TestTools/sm_control.exp TestTools/sm_control.exp
index 7f08ccb0e6e0..e639b1a44132 100644
--- TestTools/sm_control.exp
+++ TestTools/sm_control.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015, Intel Corporation
diff --git TestTools/switch_methods.exp TestTools/switch_methods.exp
index 9f1377397dcb..cf59126aeb35 100644
--- TestTools/switch_methods.exp
+++ TestTools/switch_methods.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015, Intel Corporation
diff --git TestTools/target.exp TestTools/target.exp
index 8d8311aaa1a6..2e5c05e4e0b9 100644
--- TestTools/target.exp
+++ TestTools/target.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015-2020, Intel Corporation
diff --git TestTools/tools.exp TestTools/tools.exp
index 850e7891b035..1250087c58be 100644
--- TestTools/tools.exp
+++ TestTools/tools.exp
@@ -1,3 +1,4 @@
+#!/usr/bin/expect
# BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015, Intel Corporation