Menu

#11 Declare variable D local in test.sh stop_and_clean()

v1.0_(example)
closed
nobody
None
5
2026-04-11
2022-10-02
Flow
No

Avoids a conflict with Gentoo package manager, which also has D declared.

1 Attachments

Discussion

  • Andi

    Andi - 2022-12-21

    Looks good to me.

    -------------------------------- test/test.sh ---------------------------------
    index bae3f71..3661bec 100755
    @@ -575,7 +575,7 @@ stop_and_clean(){
         echo
         ## +3 is for "Test tsize option ..." and "Test PCRE mapped download ... "
         ## +2 for diskspace tests:
    
    -    local M=$(grep "/tmp/" "$TDIR"/multicast*.log | wc -l)
    +    local D M=$(grep "/tmp/" "$TDIR"/multicast*.log | wc -l)
         $INTERACTIVE && D=2
         cat <<EOF
    
     
  • Martin Dummer

    Martin Dummer - 2026-04-11
    • status: open --> closed
     
  • Martin Dummer

    Martin Dummer - 2026-04-11

    applied, close.
    THX for contributing

     

Log in to post a comment.

MongoDB Logo MongoDB