mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 11:19:32 +03:00
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:
parent
6c9af9e8f4
commit
7b47628acb
@ -1,6 +1,5 @@
|
|||||||
pkgdatadir = $(datadir)/@PACKAGE@/test-runner/include
|
pkgdatadir = $(datadir)/@PACKAGE@/test-runner/include
|
||||||
dist_pkgdata_SCRIPTS = \
|
|
||||||
logapi.shlib
|
|
||||||
|
|
||||||
dist_pkgdata_DATA = \
|
dist_pkgdata_DATA = \
|
||||||
|
logapi.shlib \
|
||||||
stf.shlib
|
stf.shlib
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#!/bin/ksh -p
|
|
||||||
#
|
#
|
||||||
# CDDL HEADER START
|
# CDDL HEADER START
|
||||||
#
|
#
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#!/bin/ksh -p
|
|
||||||
#
|
#
|
||||||
# CDDL HEADER START
|
# CDDL HEADER START
|
||||||
#
|
#
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#!/bin/ksh -p
|
|
||||||
#
|
#
|
||||||
# Common functions used by the zpool_status and zpool_iostat tests for running
|
# Common functions used by the zpool_status and zpool_iostat tests for running
|
||||||
# scripts with the -c option.
|
# scripts with the -c option.
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#!/bin/ksh -p
|
|
||||||
#
|
#
|
||||||
# CDDL HEADER START
|
# CDDL HEADER START
|
||||||
#
|
#
|
||||||
|
@ -3,4 +3,4 @@ SUBDIRS = \
|
|||||||
synctask_core
|
synctask_core
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/channel_program
|
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/channel_program
|
||||||
dist_pkgdata_SCRIPTS = channel_common.kshlib
|
dist_pkgdata_DATA = channel_common.kshlib
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#!/bin/ksh
|
|
||||||
#
|
#
|
||||||
# This file and its contents are supplied under the terms of the
|
# This file and its contents are supplied under the terms of the
|
||||||
# Common Development and Distribution License ("CDDL"), version 1.0.
|
# Common Development and Distribution License ("CDDL"), version 1.0.
|
||||||
|
@ -2,7 +2,6 @@ pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zfs_load-k
|
|||||||
dist_pkgdata_SCRIPTS = \
|
dist_pkgdata_SCRIPTS = \
|
||||||
setup.ksh \
|
setup.ksh \
|
||||||
cleanup.ksh \
|
cleanup.ksh \
|
||||||
zfs_load-key_common.kshlib \
|
|
||||||
zfs_load-key.ksh \
|
zfs_load-key.ksh \
|
||||||
zfs_load-key_all.ksh \
|
zfs_load-key_all.ksh \
|
||||||
zfs_load-key_file.ksh \
|
zfs_load-key_file.ksh \
|
||||||
@ -11,4 +10,5 @@ dist_pkgdata_SCRIPTS = \
|
|||||||
zfs_load-key_recursive.ksh
|
zfs_load-key_recursive.ksh
|
||||||
|
|
||||||
dist_pkgdata_DATA = \
|
dist_pkgdata_DATA = \
|
||||||
zfs_load-key.cfg
|
zfs_load-key.cfg \
|
||||||
|
zfs_load-key_common.kshlib
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#!/bin/ksh -p
|
|
||||||
#
|
#
|
||||||
# CDDL HEADER START
|
# CDDL HEADER START
|
||||||
#
|
#
|
||||||
|
@ -2,9 +2,11 @@ pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zpool_even
|
|||||||
dist_pkgdata_SCRIPTS = \
|
dist_pkgdata_SCRIPTS = \
|
||||||
setup.ksh \
|
setup.ksh \
|
||||||
cleanup.ksh \
|
cleanup.ksh \
|
||||||
zpool_events.cfg \
|
|
||||||
zpool_events.kshlib \
|
|
||||||
zpool_events_clear.ksh \
|
zpool_events_clear.ksh \
|
||||||
zpool_events_cliargs.ksh \
|
zpool_events_cliargs.ksh \
|
||||||
zpool_events_follow.ksh \
|
zpool_events_follow.ksh \
|
||||||
zpool_events_poolname.ksh
|
zpool_events_poolname.ksh
|
||||||
|
|
||||||
|
dist_pkgdata_DATA = \
|
||||||
|
zpool_events.cfg \
|
||||||
|
zpool_events.kshlib
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#!/bin/ksh -p
|
|
||||||
#
|
#
|
||||||
# This file and its contents are supplied under the terms of the
|
# This file and its contents are supplied under the terms of the
|
||||||
# Common Development and Distribution License ("CDDL"), version 1.0.
|
# Common Development and Distribution License ("CDDL"), version 1.0.
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#!/bin/ksh -p
|
|
||||||
#
|
#
|
||||||
# This file and its contents are supplied under the terms of the
|
# This file and its contents are supplied under the terms of the
|
||||||
# Common Development and Distribution License ("CDDL"), version 1.0.
|
# Common Development and Distribution License ("CDDL"), version 1.0.
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zpool_labelclear
|
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cli_root/zpool_labelclear
|
||||||
dist_pkgdata_SCRIPTS = \
|
dist_pkgdata_SCRIPTS = \
|
||||||
labelclear.cfg \
|
|
||||||
zpool_labelclear_active.ksh \
|
zpool_labelclear_active.ksh \
|
||||||
zpool_labelclear_exported.ksh
|
zpool_labelclear_exported.ksh
|
||||||
|
|
||||||
|
dist_pkgdata_DATA = \
|
||||||
|
labelclear.cfg
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
#!/bin/ksh -p
|
|
||||||
#
|
|
||||||
#
|
#
|
||||||
# This file and its contents are supplied under the terms of the
|
# This file and its contents are supplied under the terms of the
|
||||||
# Common Development and Distribution License ("CDDL"), version 1.0.
|
# Common Development and Distribution License ("CDDL"), version 1.0.
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
#!/bin/ksh -p
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# This file and its contents are supplied under the terms of the
|
# This file and its contents are supplied under the terms of the
|
||||||
# Common Development and Distribution License ("CDDL"), version 1.0.
|
# Common Development and Distribution License ("CDDL"), version 1.0.
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/fault
|
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/fault
|
||||||
dist_pkgdata_SCRIPTS = \
|
dist_pkgdata_SCRIPTS = \
|
||||||
fault.cfg \
|
|
||||||
setup.ksh \
|
setup.ksh \
|
||||||
cleanup.ksh \
|
cleanup.ksh \
|
||||||
auto_online_001_pos.ksh \
|
auto_online_001_pos.ksh \
|
||||||
@ -10,3 +9,6 @@ dist_pkgdata_SCRIPTS = \
|
|||||||
auto_spare_ashift.ksh \
|
auto_spare_ashift.ksh \
|
||||||
auto_spare_multiple.ksh \
|
auto_spare_multiple.ksh \
|
||||||
scrub_after_resilver.ksh
|
scrub_after_resilver.ksh
|
||||||
|
|
||||||
|
dist_pkgdata_DATA = \
|
||||||
|
fault.cfg
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#!/bin/ksh -p
|
|
||||||
#
|
#
|
||||||
# CDDL HEADER START
|
# CDDL HEADER START
|
||||||
#
|
#
|
||||||
|
@ -2,6 +2,8 @@ pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/write_dirs
|
|||||||
dist_pkgdata_SCRIPTS = \
|
dist_pkgdata_SCRIPTS = \
|
||||||
setup.ksh \
|
setup.ksh \
|
||||||
cleanup.ksh \
|
cleanup.ksh \
|
||||||
write_dirs.cfg \
|
|
||||||
write_dirs_001_pos.ksh \
|
write_dirs_001_pos.ksh \
|
||||||
write_dirs_002_pos.ksh
|
write_dirs_002_pos.ksh
|
||||||
|
|
||||||
|
dist_pkgdata_DATA = \
|
||||||
|
write_dirs.cfg
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#!/bin/ksh -p
|
|
||||||
#
|
#
|
||||||
# CDDL HEADER START
|
# CDDL HEADER START
|
||||||
#
|
#
|
||||||
|
@ -2,5 +2,7 @@ pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/zvol/zvol_ENOSPC
|
|||||||
dist_pkgdata_SCRIPTS = \
|
dist_pkgdata_SCRIPTS = \
|
||||||
cleanup.ksh \
|
cleanup.ksh \
|
||||||
setup.ksh \
|
setup.ksh \
|
||||||
zvol_ENOSPC.cfg \
|
|
||||||
zvol_ENOSPC_001_pos.ksh
|
zvol_ENOSPC_001_pos.ksh
|
||||||
|
|
||||||
|
dist_pkgdata_DATA = \
|
||||||
|
zvol_ENOSPC.cfg
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#!/bin/ksh -p
|
|
||||||
#
|
#
|
||||||
# CDDL HEADER START
|
# CDDL HEADER START
|
||||||
#
|
#
|
||||||
|
@ -2,7 +2,9 @@ pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/zvol/zvol_cli
|
|||||||
dist_pkgdata_SCRIPTS = \
|
dist_pkgdata_SCRIPTS = \
|
||||||
cleanup.ksh \
|
cleanup.ksh \
|
||||||
setup.ksh \
|
setup.ksh \
|
||||||
zvol_cli.cfg \
|
|
||||||
zvol_cli_001_pos.ksh \
|
zvol_cli_001_pos.ksh \
|
||||||
zvol_cli_002_pos.ksh \
|
zvol_cli_002_pos.ksh \
|
||||||
zvol_cli_003_neg.ksh
|
zvol_cli_003_neg.ksh
|
||||||
|
|
||||||
|
dist_pkgdata_DATA = \
|
||||||
|
zvol_cli.cfg
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#!/bin/ksh -p
|
|
||||||
#
|
#
|
||||||
# CDDL HEADER START
|
# CDDL HEADER START
|
||||||
#
|
#
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/zvol/zvol_misc
|
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/zvol/zvol_misc
|
||||||
dist_pkgdata_SCRIPTS = \
|
dist_pkgdata_SCRIPTS = \
|
||||||
zvol_misc_common.kshlib \
|
|
||||||
cleanup.ksh \
|
cleanup.ksh \
|
||||||
setup.ksh \
|
setup.ksh \
|
||||||
zvol_misc_001_neg.ksh \
|
zvol_misc_001_neg.ksh \
|
||||||
@ -12,3 +11,7 @@ dist_pkgdata_SCRIPTS = \
|
|||||||
zvol_misc_snapdev.ksh \
|
zvol_misc_snapdev.ksh \
|
||||||
zvol_misc_volmode.ksh \
|
zvol_misc_volmode.ksh \
|
||||||
zvol_misc_zil.ksh
|
zvol_misc_zil.ksh
|
||||||
|
|
||||||
|
dist_pkgdata_DATA = \
|
||||||
|
zvol_misc_common.kshlib
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#!/bin/ksh -p
|
|
||||||
#
|
#
|
||||||
# CDDL HEADER START
|
# CDDL HEADER START
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user