Mock Version: 2.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nodejs-es-to-primitive.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1589024714.724666/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.id5j4ypf:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.id5j4ypf:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '24d9f8667439476a9e02f4e800c5ea75', '-D', '/var/lib/mock/epel-8-x86_64-1589024714.724666/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.id5j4ypf:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nodejs-es-to-primitive.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/nodejs-es-to-primitive-1.2.1-2.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nodejs-es-to-primitive.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1589024714.724666/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.id5j4ypf:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.id5j4ypf:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b218791891664d059744640c5480788f', '-D', '/var/lib/mock/epel-8-x86_64-1589024714.724666/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.id5j4ypf:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nodejs-es-to-primitive.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oqcuUt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf package + /usr/bin/gzip -dc /builddir/build/SOURCES/es-to-primitive-1.2.1.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd package + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/nodejs-es-to-primitive-fpn.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/lib/rpm/nodejs-fixdep is-symbol '^1.0.1' + rm -rf node_modules + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.j4i6KJ + umask 022 + cd /builddir/build/BUILD + cd package + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.PVA5BZ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nodejs-es-to-primitive-1.2.1-2.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nodejs-es-to-primitive-1.2.1-2.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/nodejs-es-to-primitive-1.2.1-2.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nodejs-es-to-primitive-1.2.1-2.el8.x86_64 + cd package + mkdir -p /builddir/build/BUILDROOT/nodejs-es-to-primitive-1.2.1-2.el8.x86_64/usr/lib/node_modules/es-to-primitive + cp -pr package.json index.js es5.js es6.js es2015.js helpers /builddir/build/BUILDROOT/nodejs-es-to-primitive-1.2.1-2.el8.x86_64/usr/lib/node_modules/es-to-primitive + /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.2.1-2.el8 --unique-debug-suffix -1.2.1-2.el8.x86_64 --unique-debug-src-base nodejs-es-to-primitive-1.2.1-2.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/package find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.R3BpOf + umask 022 + cd /builddir/build/BUILD + cd package + /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules --check + /usr/bin/node --harmony --es-staging test/index.js TAP version 13 # default export ok 1 default export is ES2015 ok 2 ES5 property has ES5 method ok 3 ES6 property has ES6 method ok 4 ES2015 property has ES2015 method # function properties ok 5 length is 1 ok 6 name is ToPrimitive # primitives ok 7 toPrimitive(null) returns the same value ok 8 toPrimitive(null, String) returns the same value ok 9 toPrimitive(null, Number) returns the same value ok 10 toPrimitive(undefined) returns the same value ok 11 toPrimitive(undefined, String) returns the same value ok 12 toPrimitive(undefined, Number) returns the same value ok 13 toPrimitive(true) returns the same value ok 14 toPrimitive(true, String) returns the same value ok 15 toPrimitive(true, Number) returns the same value ok 16 toPrimitive(false) returns the same value ok 17 toPrimitive(false, String) returns the same value ok 18 toPrimitive(false, Number) returns the same value ok 19 toPrimitive(0) returns the same value ok 20 toPrimitive(0, String) returns the same value ok 21 toPrimitive(0, Number) returns the same value ok 22 toPrimitive(-0) returns the same value ok 23 toPrimitive(-0, String) returns the same value ok 24 toPrimitive(-0, Number) returns the same value ok 25 toPrimitive(42) returns the same value ok 26 toPrimitive(42, String) returns the same value ok 27 toPrimitive(42, Number) returns the same value ok 28 toPrimitive(NaN) returns the same value ok 29 toPrimitive(NaN, String) returns the same value ok 30 toPrimitive(NaN, Number) returns the same value ok 31 toPrimitive(Infinity) returns the same value ok 32 toPrimitive(Infinity, String) returns the same value ok 33 toPrimitive(Infinity, Number) returns the same value ok 34 toPrimitive(-Infinity) returns the same value ok 35 toPrimitive(-Infinity, String) returns the same value ok 36 toPrimitive(-Infinity, Number) returns the same value ok 37 toPrimitive('') returns the same value ok 38 toPrimitive('', String) returns the same value ok 39 toPrimitive('', Number) returns the same value ok 40 toPrimitive('abc') returns the same value ok 41 toPrimitive('abc', String) returns the same value ok 42 toPrimitive('abc', Number) returns the same value # Symbols ok 43 toPrimitive(Symbol(foo)) returns the same value ok 44 toPrimitive(Symbol(foo), String) returns the same value ok 45 toPrimitive(Symbol(foo), Number) returns the same value ok 46 toPrimitive(Symbol(Symbol.iterator)) returns the same value ok 47 toPrimitive(Symbol(Symbol.iterator), String) returns the same value ok 48 toPrimitive(Symbol(Symbol.iterator), Number) returns the same value ok 49 toPrimitive(Symbol(foo)) returns the same value ok 50 toPrimitive(Symbol(foo), String) returns the same value ok 51 toPrimitive(Symbol(foo), Number) returns the same value ok 52 toPrimitive(Object(Symbol(primitiveSym))) returns Symbol(primitiveSym) ok 53 toPrimitive(Object(Symbol(primitiveSym)), String) returns 'Symbol(primitiveSym)' ok 54 toPrimitive(Object(Symbol(primitiveSym)), Number) returns Symbol(primitiveSym) # Arrays ok 55 toPrimitive([]) returns toString of the array ok 56 toPrimitive([]) returns toString of the array ok 57 toPrimitive([]) returns toString of the array ok 58 toPrimitive([ 'a', 'b' ]) returns toString of the array ok 59 toPrimitive([ 'a', 'b' ]) returns toString of the array ok 60 toPrimitive([ 'a', 'b' ]) returns toString of the array ok 61 toPrimitive([ 1, 2 ]) returns toString of the array ok 62 toPrimitive([ 1, 2 ]) returns toString of the array ok 63 toPrimitive([ 1, 2 ]) returns toString of the array # Dates ok 64 toPrimitive(Sat May 09 2020 11:45:33 GMT+0000 (Coordinated Universal Time)) returns toString of the date ok 65 toPrimitive(Sat May 09 2020 11:45:33 GMT+0000 (Coordinated Universal Time)) returns toString of the date ok 66 toPrimitive(Sat May 09 2020 11:45:33 GMT+0000 (Coordinated Universal Time)) returns valueOf of the date ok 67 toPrimitive(Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)) returns toString of the date ok 68 toPrimitive(Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)) returns toString of the date ok 69 toPrimitive(Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)) returns valueOf of the date ok 70 toPrimitive(Invalid Date) returns toString of the date ok 71 toPrimitive(Invalid Date) returns toString of the date ok 72 toPrimitive(Invalid Date) returns valueOf of the date # Objects ok 73 coercibleObject with no hint coerces to valueOf ok 74 coercibleObject with hint String coerces to toString ok 75 coercibleObject with hint Number coerces to valueOf ok 76 coercibleFnObject coerces to toString ok 77 coercibleFnObject with hint String coerces to toString ok 78 coercibleFnObject with hint Number coerces to toString ok 79 {} with no hint coerces to Object#toString ok 80 {} with hint String coerces to Object#toString ok 81 {} with hint Number coerces to Object#toString ok 82 toStringOnlyObject returns toString ok 83 toStringOnlyObject with hint String returns toString ok 84 toStringOnlyObject with hint Number returns toString ok 85 valueOfOnlyObject returns valueOf ok 86 valueOfOnlyObject with hint String returns valueOf ok 87 valueOfOnlyObject with hint Number returns valueOf # exceptions ok 88 uncoercibleObject throws a TypeError ok 89 uncoercibleObject with hint String throws a TypeError ok 90 uncoercibleObject with hint Number throws a TypeError ok 91 uncoercibleFnObject throws a TypeError ok 92 uncoercibleFnObject with hint String throws a TypeError ok 93 uncoercibleFnObject with hint Number throws a TypeError # function properties ok 94 length is 1 ok 95 name is ToPrimitive # primitives ok 96 toPrimitive(null) returns the same value ok 97 toPrimitive(null, String) returns the same value ok 98 toPrimitive(null, Number) returns the same value ok 99 toPrimitive(undefined) returns the same value ok 100 toPrimitive(undefined, String) returns the same value ok 101 toPrimitive(undefined, Number) returns the same value ok 102 toPrimitive(true) returns the same value ok 103 toPrimitive(true, String) returns the same value ok 104 toPrimitive(true, Number) returns the same value ok 105 toPrimitive(false) returns the same value ok 106 toPrimitive(false, String) returns the same value ok 107 toPrimitive(false, Number) returns the same value ok 108 toPrimitive(0) returns the same value ok 109 toPrimitive(0, String) returns the same value ok 110 toPrimitive(0, Number) returns the same value ok 111 toPrimitive(-0) returns the same value ok 112 toPrimitive(-0, String) returns the same value ok 113 toPrimitive(-0, Number) returns the same value ok 114 toPrimitive(42) returns the same value ok 115 toPrimitive(42, String) returns the same value ok 116 toPrimitive(42, Number) returns the same value ok 117 toPrimitive(NaN) returns the same value ok 118 toPrimitive(NaN, String) returns the same value ok 119 toPrimitive(NaN, Number) returns the same value ok 120 toPrimitive(Infinity) returns the same value ok 121 toPrimitive(Infinity, String) returns the same value ok 122 toPrimitive(Infinity, Number) returns the same value ok 123 toPrimitive(-Infinity) returns the same value ok 124 toPrimitive(-Infinity, String) returns the same value ok 125 toPrimitive(-Infinity, Number) returns the same value ok 126 toPrimitive('') returns the same value ok 127 toPrimitive('', String) returns the same value ok 128 toPrimitive('', Number) returns the same value ok 129 toPrimitive('abc') returns the same value ok 130 toPrimitive('abc', String) returns the same value ok 131 toPrimitive('abc', Number) returns the same value # Symbols ok 132 toPrimitive(Symbol(foo)) returns the same value ok 133 toPrimitive(Symbol(foo), String) returns the same value ok 134 toPrimitive(Symbol(foo), Number) returns the same value ok 135 toPrimitive(Symbol(Symbol.iterator)) returns the same value ok 136 toPrimitive(Symbol(Symbol.iterator), String) returns the same value ok 137 toPrimitive(Symbol(Symbol.iterator), Number) returns the same value ok 138 toPrimitive(Symbol(foo)) returns the same value ok 139 toPrimitive(Symbol(foo), String) returns the same value ok 140 toPrimitive(Symbol(foo), Number) returns the same value ok 141 toPrimitive(Object(Symbol(primitiveSym))) returns Symbol(primitiveSym) ok 142 toPrimitive(Object(Symbol(primitiveSym)), String) returns Symbol(primitiveSym) ok 143 toPrimitive(Object(Symbol(primitiveSym)), Number) returns Symbol(primitiveSym) # Arrays ok 144 toPrimitive([]) returns the string version of the array ok 145 toPrimitive([]) returns the string version of the array ok 146 toPrimitive([]) returns the string version of the array ok 147 toPrimitive([ 'a', 'b' ]) returns the string version of the array ok 148 toPrimitive([ 'a', 'b' ]) returns the string version of the array ok 149 toPrimitive([ 'a', 'b' ]) returns the string version of the array ok 150 toPrimitive([ 1, 2 ]) returns the string version of the array ok 151 toPrimitive([ 1, 2 ]) returns the string version of the array ok 152 toPrimitive([ 1, 2 ]) returns the string version of the array # Dates ok 153 toPrimitive(Sat May 09 2020 11:45:33 GMT+0000 (Coordinated Universal Time)) returns the string version of the date ok 154 toPrimitive(Sat May 09 2020 11:45:33 GMT+0000 (Coordinated Universal Time)) returns the string version of the date ok 155 toPrimitive(Sat May 09 2020 11:45:33 GMT+0000 (Coordinated Universal Time)) returns the number version of the date ok 156 toPrimitive(Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)) returns the string version of the date ok 157 toPrimitive(Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)) returns the string version of the date ok 158 toPrimitive(Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)) returns the number version of the date ok 159 toPrimitive(Invalid Date) returns the string version of the date ok 160 toPrimitive(Invalid Date) returns the string version of the date ok 161 toPrimitive(Invalid Date) returns the number version of the date # Objects ok 162 coercibleObject with no hint coerces to valueOf ok 163 coercibleObject with hint Number coerces to valueOf ok 164 coercibleObject with hint String coerces to non-stringified toString ok 165 coercibleFnObject coerces to non-stringified toString ok 166 coercibleFnObject with hint Number coerces to non-stringified toString ok 167 coercibleFnObject with hint String coerces to non-stringified toString ok 168 {} with no hint coerces to Object#toString ok 169 {} with hint Number coerces to Object#toString ok 170 {} with hint String coerces to Object#toString ok 171 toStringOnlyObject returns non-stringified toString ok 172 toStringOnlyObject with hint Number returns non-stringified toString ok 173 toStringOnlyObject with hint String returns non-stringified toString ok 174 valueOfOnlyObject returns valueOf ok 175 valueOfOnlyObject with hint Number returns valueOf ok 176 valueOfOnlyObject with hint String returns non-stringified valueOf # Symbol.toPrimitive ok 177 object with Symbol.toPrimitive + no hint invokes that ok 178 object with Symbol.toPrimitive + hint Number invokes that ok 179 object with Symbol.toPrimitive + hint String invokes that ok 180 object with no hint + null Symbol.toPrimitive ignores it ok 181 object with hint Number + null Symbol.toPrimitive ignores it ok 182 object with hint String + null Symbol.toPrimitive ignores it # exceptions ok 183 Symbol.toPrimitive returning a non-function throws ok 184 Symbol.toPrimitive returning an object throws ok 185 Symbol.toPrimitive throwing throws # exceptions ok 186 uncoercibleObject throws a TypeError ok 187 uncoercibleObject with hint Number throws a TypeError ok 188 uncoercibleObject with hint String throws a TypeError ok 189 uncoercibleFnObject throws a TypeError ok 190 uncoercibleFnObject with hint Number throws a TypeError ok 191 uncoercibleFnObject with hint String throws a TypeError # function properties ok 192 length is 1 ok 193 name is ToPrimitive # primitives ok 194 toPrimitive(null) returns the same value ok 195 toPrimitive(null, String) returns the same value ok 196 toPrimitive(null, Number) returns the same value ok 197 toPrimitive(undefined) returns the same value ok 198 toPrimitive(undefined, String) returns the same value ok 199 toPrimitive(undefined, Number) returns the same value ok 200 toPrimitive(true) returns the same value ok 201 toPrimitive(true, String) returns the same value ok 202 toPrimitive(true, Number) returns the same value ok 203 toPrimitive(false) returns the same value ok 204 toPrimitive(false, String) returns the same value ok 205 toPrimitive(false, Number) returns the same value ok 206 toPrimitive(0) returns the same value ok 207 toPrimitive(0, String) returns the same value ok 208 toPrimitive(0, Number) returns the same value ok 209 toPrimitive(-0) returns the same value ok 210 toPrimitive(-0, String) returns the same value ok 211 toPrimitive(-0, Number) returns the same value ok 212 toPrimitive(42) returns the same value ok 213 toPrimitive(42, String) returns the same value ok 214 toPrimitive(42, Number) returns the same value ok 215 toPrimitive(NaN) returns the same value ok 216 toPrimitive(NaN, String) returns the same value ok 217 toPrimitive(NaN, Number) returns the same value ok 218 toPrimitive(Infinity) returns the same value ok 219 toPrimitive(Infinity, String) returns the same value ok 220 toPrimitive(Infinity, Number) returns the same value ok 221 toPrimitive(-Infinity) returns the same value ok 222 toPrimitive(-Infinity, String) returns the same value ok 223 toPrimitive(-Infinity, Number) returns the same value ok 224 toPrimitive('') returns the same value ok 225 toPrimitive('', String) returns the same value ok 226 toPrimitive('', Number) returns the same value ok 227 toPrimitive('abc') returns the same value ok 228 toPrimitive('abc', String) returns the same value ok 229 toPrimitive('abc', Number) returns the same value # Symbols ok 230 toPrimitive(Symbol(foo)) returns the same value ok 231 toPrimitive(Symbol(foo), String) returns the same value ok 232 toPrimitive(Symbol(foo), Number) returns the same value ok 233 toPrimitive(Symbol(Symbol.iterator)) returns the same value ok 234 toPrimitive(Symbol(Symbol.iterator), String) returns the same value ok 235 toPrimitive(Symbol(Symbol.iterator), Number) returns the same value ok 236 toPrimitive(Symbol(foo)) returns the same value ok 237 toPrimitive(Symbol(foo), String) returns the same value ok 238 toPrimitive(Symbol(foo), Number) returns the same value ok 239 toPrimitive(Object(Symbol(primitiveSym))) returns Symbol(primitiveSym) ok 240 toPrimitive(Object(Symbol(primitiveSym)), String) returns Symbol(primitiveSym) ok 241 toPrimitive(Object(Symbol(primitiveSym)), Number) returns Symbol(primitiveSym) # Arrays ok 242 toPrimitive([]) returns the string version of the array ok 243 toPrimitive([]) returns the string version of the array ok 244 toPrimitive([]) returns the string version of the array ok 245 toPrimitive([ 'a', 'b' ]) returns the string version of the array ok 246 toPrimitive([ 'a', 'b' ]) returns the string version of the array ok 247 toPrimitive([ 'a', 'b' ]) returns the string version of the array ok 248 toPrimitive([ 1, 2 ]) returns the string version of the array ok 249 toPrimitive([ 1, 2 ]) returns the string version of the array ok 250 toPrimitive([ 1, 2 ]) returns the string version of the array # Dates ok 251 toPrimitive(Sat May 09 2020 11:45:33 GMT+0000 (Coordinated Universal Time)) returns the string version of the date ok 252 toPrimitive(Sat May 09 2020 11:45:33 GMT+0000 (Coordinated Universal Time)) returns the string version of the date ok 253 toPrimitive(Sat May 09 2020 11:45:33 GMT+0000 (Coordinated Universal Time)) returns the number version of the date ok 254 toPrimitive(Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)) returns the string version of the date ok 255 toPrimitive(Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)) returns the string version of the date ok 256 toPrimitive(Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)) returns the number version of the date ok 257 toPrimitive(Invalid Date) returns the string version of the date ok 258 toPrimitive(Invalid Date) returns the string version of the date ok 259 toPrimitive(Invalid Date) returns the number version of the date # Objects ok 260 coercibleObject with no hint coerces to valueOf ok 261 coercibleObject with hint Number coerces to valueOf ok 262 coercibleObject with hint String coerces to non-stringified toString ok 263 coercibleFnObject coerces to non-stringified toString ok 264 coercibleFnObject with hint Number coerces to non-stringified toString ok 265 coercibleFnObject with hint String coerces to non-stringified toString ok 266 {} with no hint coerces to Object#toString ok 267 {} with hint Number coerces to Object#toString ok 268 {} with hint String coerces to Object#toString ok 269 toStringOnlyObject returns non-stringified toString ok 270 toStringOnlyObject with hint Number returns non-stringified toString ok 271 toStringOnlyObject with hint String returns non-stringified toString ok 272 valueOfOnlyObject returns valueOf ok 273 valueOfOnlyObject with hint Number returns valueOf ok 274 valueOfOnlyObject with hint String returns non-stringified valueOf # Symbol.toPrimitive ok 275 object with Symbol.toPrimitive + no hint invokes that ok 276 object with Symbol.toPrimitive + hint Number invokes that ok 277 object with Symbol.toPrimitive + hint String invokes that ok 278 object with no hint + null Symbol.toPrimitive ignores it ok 279 object with hint Number + null Symbol.toPrimitive ignores it ok 280 object with hint String + null Symbol.toPrimitive ignores it # exceptions ok 281 Symbol.toPrimitive returning a non-function throws ok 282 Symbol.toPrimitive returning an object throws ok 283 Symbol.toPrimitive throwing throws # exceptions ok 284 uncoercibleObject throws a TypeError ok 285 uncoercibleObject with hint Number throws a TypeError ok 286 uncoercibleObject with hint String throws a TypeError ok 287 uncoercibleFnObject throws a TypeError ok 288 uncoercibleFnObject with hint Number throws a TypeError ok 289 uncoercibleFnObject with hint String throws a TypeError 1..289 # tests 289 # pass 289 # ok + exit 0 Processing files: nodejs-es-to-primitive-1.2.1-2.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1eulzw + umask 022 + cd /builddir/build/BUILD + cd package + DOCDIR=/builddir/build/BUILDROOT/nodejs-es-to-primitive-1.2.1-2.el8.x86_64/usr/share/doc/nodejs-es-to-primitive + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nodejs-es-to-primitive-1.2.1-2.el8.x86_64/usr/share/doc/nodejs-es-to-primitive + cp -pr README.md /builddir/build/BUILDROOT/nodejs-es-to-primitive-1.2.1-2.el8.x86_64/usr/share/doc/nodejs-es-to-primitive + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/nodejs-es-to-primitive-1.2.1-2.el8.x86_64/usr/share/doc/nodejs-es-to-primitive + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.9vGolN + umask 022 + cd /builddir/build/BUILD + cd package + LICENSEDIR=/builddir/build/BUILDROOT/nodejs-es-to-primitive-1.2.1-2.el8.x86_64/usr/share/licenses/nodejs-es-to-primitive + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nodejs-es-to-primitive-1.2.1-2.el8.x86_64/usr/share/licenses/nodejs-es-to-primitive + cp -pr LICENSE /builddir/build/BUILDROOT/nodejs-es-to-primitive-1.2.1-2.el8.x86_64/usr/share/licenses/nodejs-es-to-primitive + exit 0 Provides: nodejs-es-to-primitive = 1.2.1-2.el8 npm(es-to-primitive) = 1.2.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (npm(is-callable) >= 1.1.4 with npm(is-callable) < 2) (npm(is-date-object) >= 1.0.1 with npm(is-date-object) < 2) (npm(is-symbol) >= 1.0.1 with npm(is-symbol) < 2) nodejs(engine) >= 0.4 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nodejs-es-to-primitive-1.2.1-2.el8.x86_64 Wrote: /builddir/build/RPMS/nodejs-es-to-primitive-1.2.1-2.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.7w0Hv4 + umask 022 + cd /builddir/build/BUILD + cd package + /usr/bin/rm -rf /builddir/build/BUILDROOT/nodejs-es-to-primitive-1.2.1-2.el8.x86_64 + exit 0 Child return code was: 0