We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d210c1 commit 2f5fb55Copy full SHA for 2f5fb55
tools/bootconfig/test-bootconfig.sh
@@ -149,6 +149,19 @@ xpass $BOOTCONF -a $TEMPCONF $INITRD
149
$BOOTCONF $INITRD > $OUTFILE
150
xpass grep -q "bar" $OUTFILE
151
152
+
153
+echo "Remove/keep tailing spaces"
154
+cat > $TEMPCONF << EOF
155
+foo = val # comment
156
+bar = "val2 " # comment
157
+EOF
158
+echo > $INITRD
159
160
+xpass $BOOTCONF -a $TEMPCONF $INITRD
161
+$BOOTCONF $INITRD > $OUTFILE
162
+xfail grep -q val[[:space:]] $OUTFILE
163
+xpass grep -q val2[[:space:]] $OUTFILE
164
165
echo "=== expected failure cases ==="
166
for i in samples/bad-* ; do
167
xfail $BOOTCONF -a $i $INITRD
0 commit comments