nixos/test-driver: always respect --dump-vsock (#432563)

authored by

Jacek Galowicz and committed by
GitHub
834c619c b855a3c6

+2 -2
+2 -2
nixos/lib/test-driver/src/test_driver/__init__.py
··· 148 args.global_timeout, 149 debug=debugger, 150 ) as driver: 151 if args.interactive: 152 history_dir = os.getcwd() 153 history_path = os.path.join(history_dir, ".nixos-test-history") 154 - if offset := args.dump_vsocks: 155 - driver.dump_machine_ssh(offset) 156 ptpython.ipython.embed( 157 user_ns=driver.test_symbols(), 158 history_filename=history_path,
··· 148 args.global_timeout, 149 debug=debugger, 150 ) as driver: 151 + if offset := args.dump_vsocks: 152 + driver.dump_machine_ssh(offset) 153 if args.interactive: 154 history_dir = os.getcwd() 155 history_path = os.path.join(history_dir, ".nixos-test-history") 156 ptpython.ipython.embed( 157 user_ns=driver.test_symbols(), 158 history_filename=history_path,