test.testers: fix getAllOutputNames not found

Artturin 40197595 44425dc5

+9
+9
pkgs/build-support/testers/expect-failure.sh
··· 34 35 # ----------------------------------------- 36 # Write the build log to the default output 37 38 outs=( $(getAllOutputNames) ) 39 defOut=${outs[0]}
··· 34 35 # ----------------------------------------- 36 # Write the build log to the default output 37 + # 38 + # # from stdenv setup.sh 39 + getAllOutputNames() { 40 + if [ -n "$__structuredAttrs" ]; then 41 + echo "${!outputs[*]}" 42 + else 43 + echo "$outputs" 44 + fi 45 + } 46 47 outs=( $(getAllOutputNames) ) 48 defOut=${outs[0]}