From: Darrick J. Wong <djwong@kernel.org>
I forgot to add spdx license tags and copyright statements to some of
the tools that I've contributed to fstests. Fix this to be explicit.
Signed-off-by: Darrick J. Wong <redacted>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
---
tools/mkgroupfile | 4 +++-
tools/mvtest | 5 ++++-
tools/nextid | 4 +++-
3 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/tools/mkgroupfile b/tools/mkgroupfile
index e4244507..634ec92c 100755
--- a/tools/mkgroupfile
+++ b/tools/mkgroupfile
@@ -1,5 +1,7 @@
#!/bin/bash
-
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2021 Oracle. All Rights Reserved.
+#
# Generate a group file from the _begin_fstest call in each test.
if [ "$1" = "--help" ]; then
diff --git a/tools/mvtest b/tools/mvtest
index 5088b45f..99b15414 100755
--- a/tools/mvtest
+++ b/tools/mvtest
@@ -1,6 +1,9 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2015 Oracle. All Rights Reserved.
+#
+# Move a test and update the golden output file.
-# Renumber a test
dir="$(dirname "$0")"
if [ -z "$1" ] || [ "$1" = "--help" ]; then
diff --git a/tools/nextid b/tools/nextid
index 9507de29..9e31718c 100755
--- a/tools/nextid
+++ b/tools/nextid
@@ -1,5 +1,7 @@
#!/bin/bash
-
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2015 Oracle. All Rights Reserved.
+#
# Compute the next available test id in a given test directory.
if [ $# != 1 ] || [ "$1" = "--help" ] || [ ! -d "tests/$1/" ]; then