diff --git a/tests/common/BaseUtil.py b/tests/common/BaseUtil.py index 4a85233ace40..eee3a18948b0 100644 --- a/tests/common/BaseUtil.py +++ b/tests/common/BaseUtil.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# + from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/tests/common/bmcUtiltest.py b/tests/common/bmcUtiltest.py index 753544b08933..c9985485a4c8 100644 --- a/tests/common/bmcUtiltest.py +++ b/tests/common/bmcUtiltest.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# + from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/tests/common/cmmComponentPresenceTest.py b/tests/common/cmmComponentPresenceTest.py index 12290bcad722..619f96e4c75b 100644 --- a/tests/common/cmmComponentPresenceTest.py +++ b/tests/common/cmmComponentPresenceTest.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# + from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/tests/common/cmmPowerGPIOPresence.py b/tests/common/cmmPowerGPIOPresence.py index 8f5589ccba24..b9ea99d3a3cb 100644 --- a/tests/common/cmmPowerGPIOPresence.py +++ b/tests/common/cmmPowerGPIOPresence.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# + from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/tests/common/connectionTest.py b/tests/common/connectionTest.py index ae0dd2679db3..1572c0d6585c 100644 --- a/tests/common/connectionTest.py +++ b/tests/common/connectionTest.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# + from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/tests/common/eepromTest.py b/tests/common/eepromTest.py index a52bd6b79a21..c5bf2ee345a3 100644 --- a/tests/common/eepromTest.py +++ b/tests/common/eepromTest.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# + from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/tests/common/fansTest.py b/tests/common/fansTest.py index 7068eaa122db..ca8e16d2c707 100644 --- a/tests/common/fansTest.py +++ b/tests/common/fansTest.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# + from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/tests/common/gpioTest.py b/tests/common/gpioTest.py index e4b135d64d34..6365f6fd1f6d 100644 --- a/tests/common/gpioTest.py +++ b/tests/common/gpioTest.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# + from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/tests/common/hostMacTest.py b/tests/common/hostMacTest.py index 365f5b40c928..8d8cbab52b68 100644 --- a/tests/common/hostMacTest.py +++ b/tests/common/hostMacTest.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# + from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/tests/common/i2cSensorTest.py b/tests/common/i2cSensorTest.py index 77d0c906fe9e..abdd72a9e4c3 100644 --- a/tests/common/i2cSensorTest.py +++ b/tests/common/i2cSensorTest.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# + from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/tests/common/interfaceTest.py b/tests/common/interfaceTest.py index 057fe28c043d..65ecc2aa8862 100644 --- a/tests/common/interfaceTest.py +++ b/tests/common/interfaceTest.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# + from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/tests/common/kernelModulesTest.py b/tests/common/kernelModulesTest.py index 82ef61ee59b1..106b020b7dcc 100644 --- a/tests/common/kernelModulesTest.py +++ b/tests/common/kernelModulesTest.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# + from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/tests/common/memoryUsageTest.py b/tests/common/memoryUsageTest.py index aad43537250f..b5a5c0b7272a 100644 --- a/tests/common/memoryUsageTest.py +++ b/tests/common/memoryUsageTest.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# + from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/tests/common/powerCycleHWTest.py b/tests/common/powerCycleHWTest.py index 7e350f25e025..42b20fbf1a3c 100644 --- a/tests/common/powerCycleHWTest.py +++ b/tests/common/powerCycleHWTest.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# + from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/tests/common/powerCycleSWTest.py b/tests/common/powerCycleSWTest.py index 7b486f79a5d2..80423c16ed32 100644 --- a/tests/common/powerCycleSWTest.py +++ b/tests/common/powerCycleSWTest.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# + from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/tests/common/processRunningTest.py b/tests/common/processRunningTest.py index 55df090e616f..07cd73b8c11e 100644 --- a/tests/common/processRunningTest.py +++ b/tests/common/processRunningTest.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# + from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/tests/common/restapiTest.py b/tests/common/restapiTest.py index 06b93965bd40..95ff1b05111f 100644 --- a/tests/common/restapiTest.py +++ b/tests/common/restapiTest.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# + from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/tests/common/sensorTest.py b/tests/common/sensorTest.py index dead3ec56bc6..9056c32d952a 100644 --- a/tests/common/sensorTest.py +++ b/tests/common/sensorTest.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# + from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/tests/common/solTest.py b/tests/common/solTest.py index cc6346123d45..0376aa114fd8 100644 --- a/tests/common/solTest.py +++ b/tests/common/solTest.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# + from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/tests/common/unitTestUtil.py b/tests/common/unitTestUtil.py index 5eb68d06600e..0712fbbfe505 100644 --- a/tests/common/unitTestUtil.py +++ b/tests/common/unitTestUtil.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# + from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/tests/common/watchdogResetTest.py b/tests/common/watchdogResetTest.py index faa437f98468..ca6b2ad8d7b5 100644 --- a/tests/common/watchdogResetTest.py +++ b/tests/common/watchdogResetTest.py @@ -1,3 +1,22 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# from __future__ import absolute_import from __future__ import division diff --git a/tests/experimental/generate_gpiolist.py b/tests/experimental/generate_gpiolist.py index 4b51be431249..302649e66a74 100644 --- a/tests/experimental/generate_gpiolist.py +++ b/tests/experimental/generate_gpiolist.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# + from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/tests/fbtp/unittests/FbtpUtil.py b/tests/fbtp/unittests/FbtpUtil.py index fbd7ae405b7b..1956e5a1e74d 100644 --- a/tests/fbtp/unittests/FbtpUtil.py +++ b/tests/fbtp/unittests/FbtpUtil.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# + from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/tests/fbttn/unittests/FbttnUtil.py b/tests/fbttn/unittests/FbttnUtil.py index 6905bb489617..03c4ac2a5175 100644 --- a/tests/fbttn/unittests/FbttnUtil.py +++ b/tests/fbttn/unittests/FbttnUtil.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# + from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/tests/galaxy100/unittests/Galaxy100Util.py b/tests/galaxy100/unittests/Galaxy100Util.py index 28d533990f3a..e330c5fc5650 100644 --- a/tests/galaxy100/unittests/Galaxy100Util.py +++ b/tests/galaxy100/unittests/Galaxy100Util.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# + from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/tests/minipack/unittests/MinipackUtil.py b/tests/minipack/unittests/MinipackUtil.py index 22a724cb47f7..508f83dc22c4 100644 --- a/tests/minipack/unittests/MinipackUtil.py +++ b/tests/minipack/unittests/MinipackUtil.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# + from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/tests/minipack/unittests/fscd_test.py b/tests/minipack/unittests/fscd_test.py index 3aad8cfcad22..d537f6ba3fcb 100644 --- a/tests/minipack/unittests/fscd_test.py +++ b/tests/minipack/unittests/fscd_test.py @@ -1,4 +1,22 @@ -# Copyright (C) 2004-present Facebook. All Rights Reserved +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# from __future__ import absolute_import from __future__ import division @@ -271,7 +289,7 @@ def run_test1(self): switch2_temp=20, expected_pwm=50): rc = False - + print("[FSCD Testing] System should shutdown because temperature " "limit reached. Verifying...") time.sleep(70) @@ -316,7 +334,7 @@ def run_test2(self): ''' test2: fan dead test - Setup: fsc-32/64-config-test2.json - reads sensors temperature from + Setup: fsc-32/64-config-test2.json - reads sensors temperature from sensor-util but reads RPMs and PWMs from test-data. 1) fan_dead_boost test for one or more fans are broken ''' diff --git a/tests/wedge/unittests/WedgeUtil.py b/tests/wedge/unittests/WedgeUtil.py index 96e0d48d49b8..ff07d5e32140 100644 --- a/tests/wedge/unittests/WedgeUtil.py +++ b/tests/wedge/unittests/WedgeUtil.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# + from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/tests/wedge100/unittests/Wedge100Util.py b/tests/wedge100/unittests/Wedge100Util.py index d7d16a3479d2..5a6f6063ce23 100644 --- a/tests/wedge100/unittests/Wedge100Util.py +++ b/tests/wedge100/unittests/Wedge100Util.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# + from __future__ import absolute_import from __future__ import division from __future__ import print_function diff --git a/tests/wedge100/unittests/fscd_test.py b/tests/wedge100/unittests/fscd_test.py index d19727e92552..802ead1209cc 100644 --- a/tests/wedge100/unittests/fscd_test.py +++ b/tests/wedge100/unittests/fscd_test.py @@ -1,4 +1,22 @@ -# Copyright (C) 2004-present Facebook. All Rights Reserved +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# from __future__ import absolute_import from __future__ import division diff --git a/tests/wedge100/unittests/psumuxmon_test.py b/tests/wedge100/unittests/psumuxmon_test.py index fe2ada04fb25..19a3d296f773 100644 --- a/tests/wedge100/unittests/psumuxmon_test.py +++ b/tests/wedge100/unittests/psumuxmon_test.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2018-present Facebook. All Rights Reserved. +# +# This program file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program in a file named COPYING; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# + from __future__ import absolute_import from __future__ import division from __future__ import print_function