Clean up (k)shlib and cfg file shebangs

Most kshlib files are imported by other scripts
and do not have a shebang at the top of their files.
Make all kshlib follow this convention.

Remove shebangs from cfg files as well.

Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Close #7406
This commit is contained in:
Giuseppe Di Natale 2018-04-08 19:37:22 -07:00 committed by Brian Behlendorf
parent 6c9af9e8f4
commit 7b47628acb
25 changed files with 27 additions and 30 deletions

View File

@ -1,6 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/test-runner/include
dist_pkgdata_SCRIPTS = \
logapi.shlib
dist_pkgdata_DATA = \
logapi.shlib \
stf.shlib

View File

@ -1,4 +1,3 @@
#!/bin/ksh -p
#
# CDDL HEADER START
#

View File

@ -1,4 +1,3 @@
#!/bin/ksh -p
#
# CDDL HEADER START
#

View File

@ -1,4 +1,3 @@
#!/bin/ksh -p
#
# Common functions used by the zpool_status and zpool_iostat tests for running
# scripts with the -c option.

View File

@ -1,4 +1,3 @@
#!/bin/ksh -p
#
# CDDL HEADER START
#

View File

@ -3,4 +3,4 @@ SUBDIRS = \
synctask_core
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/channel_program
dist_pkgdata_SCRIPTS = channel_common.kshlib
dist_pkgdata_DATA = channel_common.kshlib

View File

@ -1,4 +1,3 @@
#!/bin/ksh
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.

View File

@ -2,7 +2,6 @@ pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zfs_load-k
dist_pkgdata_SCRIPTS = \
setup.ksh \
cleanup.ksh \
zfs_load-key_common.kshlib \
zfs_load-key.ksh \
zfs_load-key_all.ksh \
zfs_load-key_file.ksh \
@ -11,4 +10,5 @@ dist_pkgdata_SCRIPTS = \
zfs_load-key_recursive.ksh
dist_pkgdata_DATA = \
zfs_load-key.cfg
zfs_load-key.cfg \
zfs_load-key_common.kshlib

View File

@ -1,4 +1,3 @@
#!/bin/ksh -p
#
# CDDL HEADER START
#

View File

@ -2,9 +2,11 @@ pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zpool_even
dist_pkgdata_SCRIPTS = \
setup.ksh \
cleanup.ksh \
zpool_events.cfg \
zpool_events.kshlib \
zpool_events_clear.ksh \
zpool_events_cliargs.ksh \
zpool_events_follow.ksh \
zpool_events_poolname.ksh
dist_pkgdata_DATA = \
zpool_events.cfg \
zpool_events.kshlib

View File

@ -1,4 +1,3 @@
#!/bin/ksh -p
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.

View File

@ -1,4 +1,3 @@
#!/bin/ksh -p
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.

View File

@ -1,5 +1,7 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zpool_labelclear
dist_pkgdata_SCRIPTS = \
labelclear.cfg \
zpool_labelclear_active.ksh \
zpool_labelclear_exported.ksh
dist_pkgdata_DATA = \
labelclear.cfg

View File

@ -1,5 +1,3 @@
#!/bin/ksh -p
#
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.

View File

@ -1,5 +1,3 @@
#!/bin/ksh -p
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.

View File

@ -1,6 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/fault
dist_pkgdata_SCRIPTS = \
fault.cfg \
setup.ksh \
cleanup.ksh \
auto_online_001_pos.ksh \
@ -10,3 +9,6 @@ dist_pkgdata_SCRIPTS = \
auto_spare_ashift.ksh \
auto_spare_multiple.ksh \
scrub_after_resilver.ksh
dist_pkgdata_DATA = \
fault.cfg

View File

@ -1,4 +1,3 @@
#!/bin/ksh -p
#
# CDDL HEADER START
#

View File

@ -2,6 +2,8 @@ pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/write_dirs
dist_pkgdata_SCRIPTS = \
setup.ksh \
cleanup.ksh \
write_dirs.cfg \
write_dirs_001_pos.ksh \
write_dirs_002_pos.ksh
dist_pkgdata_DATA = \
write_dirs.cfg

View File

@ -1,4 +1,3 @@
#!/bin/ksh -p
#
# CDDL HEADER START
#

View File

@ -2,5 +2,7 @@ pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/zvol/zvol_ENOSPC
dist_pkgdata_SCRIPTS = \
cleanup.ksh \
setup.ksh \
zvol_ENOSPC.cfg \
zvol_ENOSPC_001_pos.ksh
dist_pkgdata_DATA = \
zvol_ENOSPC.cfg

View File

@ -1,4 +1,3 @@
#!/bin/ksh -p
#
# CDDL HEADER START
#

View File

@ -2,7 +2,9 @@ pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/zvol/zvol_cli
dist_pkgdata_SCRIPTS = \
cleanup.ksh \
setup.ksh \
zvol_cli.cfg \
zvol_cli_001_pos.ksh \
zvol_cli_002_pos.ksh \
zvol_cli_003_neg.ksh
dist_pkgdata_DATA = \
zvol_cli.cfg

View File

@ -1,4 +1,3 @@
#!/bin/ksh -p
#
# CDDL HEADER START
#

View File

@ -1,6 +1,5 @@
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/zvol/zvol_misc
dist_pkgdata_SCRIPTS = \
zvol_misc_common.kshlib \
cleanup.ksh \
setup.ksh \
zvol_misc_001_neg.ksh \
@ -12,3 +11,7 @@ dist_pkgdata_SCRIPTS = \
zvol_misc_snapdev.ksh \
zvol_misc_volmode.ksh \
zvol_misc_zil.ksh
dist_pkgdata_DATA = \
zvol_misc_common.kshlib

View File

@ -1,4 +1,3 @@
#!/bin/ksh -p
#
# CDDL HEADER START
#