expected <- eval(parse(text="structure(c(\"8189464 kB\", \"52252 kB\", \"237240 kB\", \"6704452 kB\", \"5868 kB\", \"3947300 kB\", \"3641700 kB\", \"521488 kB\", \"126264 kB\", \"3425812 kB\", \"3515436 kB\", \"0 kB\", \"0 kB\", \"20603324 kB\", \"20546156 kB\", \"1964 kB\", \"0 kB\", \"645292 kB\", \"12420 kB\", \"76 kB\", \"343696 kB\", \"303404 kB\", \"40292 kB\", \"2344 kB\", \"8464 kB\", \"0 kB\", \"0 kB\", \"0 kB\", \"24698056 kB\", \"1053308 kB\", \"34359738367 kB\", \"301080 kB\", \"34359386948 kB\", \"0 kB\", \"0\", \"0\", \"0\", \"0\", \"2048 kB\", \"7488 kB\", \"8376320 kB\"), .Names = c(\"MemTotal\", \"MemFree\", \"Buffers\", \"Cached\", \"SwapCached\", \"Active\", \"Inactive\", \"Active(anon)\", \"Inactive(anon)\", \"Active(file)\", \"Inactive(file)\", \"Unevictable\", \"Mlocked\", \"SwapTotal\", \"SwapFree\", \"Dirty\", \"Writeback\", \"AnonPages\", \"Mapped\", \"Shmem\", \"Slab\", \"SReclaimable\", \"SUnreclaim\", \"KernelStack\", \"PageTables\", \"NFS_Unstable\", \"Bounce\", \"WritebackTmp\", \"CommitLimit\", \"Committed_AS\", \"VmallocTotal\", \"VmallocUsed\", \"VmallocChunk\", \"HardwareCorrupted\", \"HugePages_Total\", \"HugePages_Free\", \"HugePages_Rsvd\", \"HugePages_Surp\", \"Hugepagesize\", \"DirectMap4k\", \"DirectMap2M\"), Name = \"/proc/meminfo\")"));           
test(id=0, code={           
argv <- eval(parse(text="list(structure(c(\"8189464 kB\", \"52252 kB\", \"237240 kB\", \"6704452 kB\", \"5868 kB\", \"3947300 kB\", \"3641700 kB\", \"521488 kB\", \"126264 kB\", \"3425812 kB\", \"3515436 kB\", \"0 kB\", \"0 kB\", \"20603324 kB\", \"20546156 kB\", \"1964 kB\", \"0 kB\", \"645292 kB\", \"12420 kB\", \"76 kB\", \"343696 kB\", \"303404 kB\", \"40292 kB\", \"2344 kB\", \"8464 kB\", \"0 kB\", \"0 kB\", \"0 kB\", \"24698056 kB\", \"1053308 kB\", \"34359738367 kB\", \"301080 kB\", \"34359386948 kB\", \"0 kB\", \"0\", \"0\", \"0\", \"0\", \"2048 kB\", \"7488 kB\", \"8376320 kB\"), .Names = c(\"MemTotal\", \"MemFree\", \"Buffers\", \"Cached\", \"SwapCached\", \"Active\", \"Inactive\", \"Active(anon)\", \"Inactive(anon)\", \"Active(file)\", \"Inactive(file)\", \"Unevictable\", \"Mlocked\", \"SwapTotal\", \"SwapFree\", \"Dirty\", \"Writeback\", \"AnonPages\", \"Mapped\", \"Shmem\", \"Slab\", \"SReclaimable\", \"SUnreclaim\", \"KernelStack\", \"PageTables\", \"NFS_Unstable\", \"Bounce\", \"WritebackTmp\", \"CommitLimit\", \"Committed_AS\", \"VmallocTotal\", \"VmallocUsed\", \"VmallocChunk\", \"HardwareCorrupted\", \"HugePages_Total\", \"HugePages_Free\", \"HugePages_Rsvd\", \"HugePages_Surp\", \"Hugepagesize\", \"DirectMap4k\", \"DirectMap2M\"), Name = \"/proc/meminfo\"), \"Name\", value = \"/proc/meminfo\")"));           
do.call(`attr<-`, argv);           
}, o=expected);           

