mirror of
https://github.com/tstack/lnav.git
synced 2024-08-17 00:40:30 +03:00
[tests] scrub out $UID in test output
This commit is contained in:
parent
fa024a7256
commit
a05dd4bd2f
@ -106,6 +106,7 @@ run_cap_test() {
|
||||
-e "s;${builddir};{test_dir};g" \
|
||||
-e "s;${top_srcdir};{top_srcdir};g" \
|
||||
-e "s;${top_srcdir_parent};{top_srcdir_parent};g" \
|
||||
-e "s;lnav-user-${UID}-work;lnav-user-{uid}-work;g" \
|
||||
${test_file_base}_${test_hash}.out
|
||||
echo
|
||||
printf "%s \033[0;35m=============================================================\033[0m\n" $(date -Iseconds)
|
||||
@ -133,6 +134,7 @@ run_cap_test() {
|
||||
-e "s;${test_dir};{test_dir};g" \
|
||||
-e "s;${builddir};{builddir};g" \
|
||||
-e "s;${top_srcdir};{top_srcdir};g" \
|
||||
-e "s;lnav-user-${UID}-work;lnav-user-{uid}-work;g" \
|
||||
-e 's;"errorId":".+";;g' \
|
||||
${test_file_base}_${test_hash}.err
|
||||
printf '\033[0;31mBEGIN\033[0m %s\n' "${test_file_base}_${test_hash}.err"
|
||||
|
@ -1,4 +1,4 @@
|
||||
[1m[35mⓘ info[0m: the following piper captures were found in:
|
||||
[1mpiper-tmp/lnav-user-501-work/piper[0m
|
||||
[1mpiper-tmp/lnav-user-{uid}-work/piper[0m
|
||||
[36m =[0m [36mnote[0m: The captures currently consume [1m31B[0m of disk space. File sizes include associated metadata.
|
||||
[36m =[0m [36mhelp[0m: You can reopen a capture by passing the piper URL to lnav
|
||||
|
Loading…
Reference in New Issue
Block a user