Skip to content
Snippets Groups Projects
Commit 09a5a41a authored by Frederic Danis's avatar Frederic Danis
Browse files

Merge commit 'd4ca24fc' into apertis/v2022dev3

parents 158a9af9 d4ca24fc
No related branches found
No related tags found
1 merge request!8run-aa-test: Fix call to csplit
Pipeline #288227 passed
......@@ -143,7 +143,7 @@ echo "#---8<--- expected parsed apparmor output from journal"
cat ${EXPECT_FILE} | sed 's/^/# /'
echo "#--->8---"
csplit ${EXPECT_FILE} -f ${TMP_DIR}/EXPECT -b "%d" "/^${ALTERNATIVE_SEPARATOR}$/" {*}
csplit ${EXPECT_FILE} -f ${TMP_DIR}/EXPECT -b "%0d" "/^${ALTERNATIVE_SEPARATOR}$/" {*}
# Old versions of csplit don't provide "--suppress-matched", strip separator separately
for FILE in ${TMP_DIR}/EXPECT*; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment