Add missing argument to fcntl(F_DUPFD) in regression test.