aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-02-17 18:25:34 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-02-19 20:57:12 -0300
commit3812c139a6580113572f68ea1a8fd277d410777c (patch)
tree52b196e95a9ef510a1dc4c3648610ecb07cbeadb /test
parentRELNOTES: add build and docs items (diff)
downloadfirejail-3812c139a6580113572f68ea1a8fd277d410777c.tar.gz
firejail-3812c139a6580113572f68ea1a8fd277d410777c.tar.zst
firejail-3812c139a6580113572f68ea1a8fd277d410777c.zip
Fix EOL at EOF
Commands used to search and replace: $ git grep -Ilz '.' | xargs -0 -I '{}' sh -c \ "printf '%s\n' \"\$(cat '{}')\" >'{}'" The above commands ensure that there is exaclty 1 line terminator at EOF (rather than 0 or more than 1) on all non-empty text files. This fixes all of the "new blank line at EOF" errors raised by git: $ git diff --check 4b825dc642cb6eb9a060e54bf8d69288fbee4904..HEAD | grep '^[^+]' | cut -f 3 -d : | LC_ALL=C sort | uniq -c 21 new blank line at EOF. 72 space before tab in indent. 4 trailing whitespace.
Diffstat (limited to 'test')
-rwxr-xr-xtest/private-etc/private-etc.sh1
-rwxr-xr-xtest/private-lib/private-lib.sh1
-rwxr-xr-xtest/sysutils/sysutils.sh1
3 files changed, 0 insertions, 3 deletions
diff --git a/test/private-etc/private-etc.sh b/test/private-etc/private-etc.sh
index 8488611b9..c46b684af 100755
--- a/test/private-etc/private-etc.sh
+++ b/test/private-etc/private-etc.sh
@@ -18,4 +18,3 @@ echo "TESTING: groups (test/private-etc/groups.exp)"
18 18
19echo "TESTING: etc-cleanup (test/private-etc/etc-cleanup.exp)" 19echo "TESTING: etc-cleanup (test/private-etc/etc-cleanup.exp)"
20./etc-cleanup.exp 20./etc-cleanup.exp
21
diff --git a/test/private-lib/private-lib.sh b/test/private-lib/private-lib.sh
index 0ef18b79d..5c67b16c5 100755
--- a/test/private-lib/private-lib.sh
+++ b/test/private-lib/private-lib.sh
@@ -29,4 +29,3 @@ if [[ $(uname -m) == "x86_64" ]]; then
29else 29else
30 echo "TESTING SKIP: private-lib test implemented only for x86_64." 30 echo "TESTING SKIP: private-lib test implemented only for x86_64."
31fi 31fi
32
diff --git a/test/sysutils/sysutils.sh b/test/sysutils/sysutils.sh
index 34acca07d..94f0b1f76 100755
--- a/test/sysutils/sysutils.sh
+++ b/test/sysutils/sysutils.sh
@@ -158,4 +158,3 @@ then
158else 158else
159 echo "TESTING SKIP: whois not found" 159 echo "TESTING SKIP: whois not found"
160fi 160fi
161