Index: test/ipptool.c =================================================================== --- test/ipptool.c (revision 10756) +++ test/ipptool.c (working copy) @@ -1494,13 +1494,15 @@ * Operation... */ - if (!get_token(fp, token, sizeof(token), &linenum)) + if (!get_token(fp, temp, sizeof(temp), &linenum)) { print_fatal_error("Missing OPERATION code on line %d.", linenum); pass = 0; goto test_exit; } + expand_variables(vars, token, temp, sizeof(token)); + if ((op = ippOpValue(token)) == (ipp_op_t)-1 && (op = strtol(token, NULL, 0)) == 0) { @@ -1543,13 +1545,15 @@ double delay; - if (!get_token(fp, token, sizeof(token), &linenum)) + if (!get_token(fp, temp, sizeof(temp), &linenum)) { print_fatal_error("Missing DELAY value on line %d.", linenum); pass = 0; goto test_exit; } + expand_variables(vars, token, temp, sizeof(token)); + if ((delay = _cupsStrScand(token, NULL, localeconv())) <= 0.0) { print_fatal_error("Bad DELAY value \"%s\" on line %d.", token,